Zheng, Lei
eb24c84468
Draft/Arch: maintain Python 2 compatibility
...
In order to pass test under Python 2
2019-08-30 14:56:18 +02:00
Zheng, Lei
52d30b4053
App: fix Document::_abortTransaction()
2019-08-30 14:55:49 +02:00
Zheng, Lei
b78761cf3c
Part: fix VBO update on multiple gl context
...
Multiple OpenGL context is caused by linking some shape object from
external documents. The VBO update must be triggered for all contexts.
2019-08-30 14:55:14 +02:00
Zheng, Lei
59cd0c3802
Show: remove debug print
2019-08-30 14:54:20 +02:00
Zheng, Lei
e196d33549
Part: fix TaskAttacher external editing
2019-08-30 14:53:50 +02:00
Zheng, Lei
d00dd4724b
PartDesign: fix datum edit through external link
2019-08-30 14:53:03 +02:00
Zheng, Lei
5bc298cf18
Gui: handle exception in tree view double click
2019-08-30 14:52:09 +02:00
Zheng, Lei
d6967438f1
Gui: fix ExpressionCompleter for property
2019-08-30 14:51:33 +02:00
Zheng, Lei
4b74659308
Gui: fix tree view document double click activating
2019-08-30 14:50:52 +02:00
Zheng, Lei
8a99ef34ec
Gui: use ExpressionLineEdit for tree view object search
...
Tree view is already using expression for object search. This patch
adds the expression completer feature for search result suggestion.
2019-08-30 14:50:15 +02:00
Zheng, Lei
782913407a
Gui: improve expression completer
...
Proper support of completing an edit in the middel of an expression.
Also support 'noProperty' mode in the completer, where no completion is
offered for property names. This will be used by tree view object
search.
2019-08-30 14:49:14 +02:00
Zheng, Lei
58a62288a0
App: allow starting '_' in an expression identifier
...
It's a signle line change in the flex source, bug a big change in the
generated source.
2019-08-30 14:47:53 +02:00
Zheng, Lei
28a0cc1019
TechDraw: avoid touching children if possible
...
There are lots of dependency inversion problem in TechDraw, the ideal
organization should let a child depend on project group, instead of the
other way round, e.g. using PropertyLinkListHidden.
This patch is just a cheap fix. The problem occurs when the user uses
any expression to update properties like Scale in a projection group.
The Scale property will be changed on recomputing projection group,
which triggers children update, but since the group depends on the
children, the children has already been recomputed.
2019-08-30 14:47:05 +02:00
Zheng, Lei
f362229041
Part: avoid touching in ViewProviderAttachExtension mergeOverlayIcons
...
ViewProviderAttachExtension::extensionMergeOverlayIcons() calls
AttachExtension::positionBySupport() which will always touch the
extended object. This may cause recomputation problems, e.g a datum
that is always touched, because normal recomputation trigger tree
view update by a timer, tree view refreshes the icon, datum gets
touched again.
2019-08-30 14:46:38 +02:00
Zheng, Lei
d270d60950
Gui: expose link command to global toolbar
2019-08-30 14:43:32 +02:00
Zheng, Lei
71530bb1a6
Gui: allow SelectionSingleton::hasSubSelection() check for sub-element
...
This is used by relative link command activation for sub-element
selection
2019-08-30 14:43:04 +02:00
Zheng, Lei
495234f753
App: fix LinkBaseExtension::extensionGetSubObject()
...
This fix obtain shape from a link to a sub element
2019-08-30 14:42:19 +02:00
Zheng, Lei
0e115be0ec
App: make recompute aborting optional
2019-08-30 14:41:46 +02:00
Zheng, Lei
15b61112b1
App: prevent recursive abort/commitTransaction
2019-08-30 14:35:23 +02:00
Zheng, Lei
a6da78b4e5
Gui: expose MainWindow:showStatus()
...
Tree view now uses this to show error on hovering over object in error.
2019-08-30 14:33:31 +02:00
Zheng, Lei
27a2ebed71
Gui: fix property editor crash on recompute
...
The actual cause of crash in previous commit 80f70ff6 is
Document::recompute() allows aborting using Base::Sequence, which
uses QApplication::processEvent() to catch 'ESC' key press. This local
event loop causes premature deletion of the editor widget.
This patch moves handling of closeEditor before calling recompute().
2019-08-30 14:25:41 +02:00
Zheng, Lei
6aec9ffed7
Gui: try to fix property editor crash
...
Crash stack trace
https://forum.freecadweb.org/viewtopic.php?f=8&t=37757&e=1&view=unread#p327901
It appears to by caused by handling QAbstractItemDelegate::closeEditor
signal twice. Once inside PropertyItemDelegate::editorClosed via slot
connection where the editor is closed/destroyed, the other in
PropertyEditor::closeEditor() which tries to access the destroyed
editor.
This patch removes handling of closeEditor signal in
PropertyItemDelegate.
2019-08-30 13:55:24 +02:00
Zheng, Lei
de9732db1e
Draft: disable implicit property linking in LinkArray
2019-08-30 13:35:25 +02:00
Zheng, Lei
99d4e2981c
Show: fix body visible feature restore function
2019-08-30 13:35:07 +02:00
Zheng, Lei
5b8d2183fb
PartDesign: add 'VisibleFeature' attribute to BodyPy
2019-08-30 13:34:41 +02:00
Zheng, Lei
42b4e4c0a9
PartDesign: do not touch body on child change
2019-08-30 13:31:19 +02:00
wandererfan
b24eea7beb
[TD]Allow forced redraw of Page
2019-08-29 21:03:39 -04:00
wandererfan
2c2c851cc3
[TD]Add parameters to control drawing update
2019-08-29 21:03:39 -04:00
sliptonic
22d88888d0
Merge pull request #2463 from dubstar-04/feature/coolant-management
...
[Path] Feature/coolant management
2019-08-29 15:25:26 -05:00
Chris Rendle-Short
9943e74f25
Fix missing app ID and icon on Wayland
...
Wayland needs to know the name of the .desktop file to show a dock
icon and application name.
See: https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Application_Icon
2019-08-29 17:39:53 +02:00
sliptonic
0dbaed5d7b
Merge branch 'master' into feature/coolant-management
2019-08-29 09:46:32 -05:00
sliptonic
addfc519d1
Merge pull request #2457 from dubstar-04/feature/tooltable
...
[Path] Manage multiple tool tables
2019-08-29 09:46:02 -05:00
Bernd Hahnebach
929450521a
Arch: import IFC and helper, code formating, E265 block comment should start with '# '
2019-08-29 07:52:20 +02:00
Bernd Hahnebach
e84b5d662c
Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment
2019-08-29 07:52:09 +02:00
Bernd Hahnebach
0eef759864
Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment
2019-08-29 07:52:00 +02:00
Yorik van Havre
5d2713e43f
Draft: Export DXF objects with BYLAYER color if applicable
2019-08-28 22:48:57 -03:00
Yorik van Havre
8782d39f8b
Draft: further fixes to svg generation code
2019-08-28 21:21:05 -03:00
Yorik van Havre
24caf8dab1
Draft: Fixed text color and faces with holes in SVG rendering
2019-08-28 20:09:25 -03:00
Yorik van Havre
4f08e8ca90
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2019-08-28 19:04:20 -03:00
Bernd Hahnebach
efcb26ca60
FEM: gmsh tools, use double string quotes instead of single
2019-08-28 22:18:11 +02:00
Yorik van Havre
04ff03fb58
Draft/TechDraw: Allow TD Draft views to not override individual colors and line type of rendered objects
2019-08-28 16:50:06 -03:00
Bernd Hahnebach
4096c6b8c4
Arch: import IFC, make use of improved color import
2019-08-28 21:49:28 +02:00
Bernd Hahnebach
057caca945
Arch, import IFC helper, improve color code
2019-08-28 21:49:19 +02:00
Bernd Hahnebach
d3c31c131b
Arch: import IFC helper, some comment and rename property rel method
2019-08-28 21:49:13 +02:00
Bernd Hahnebach
7b13ebf47d
Arch: import IFC helper, small code formating
2019-08-28 21:49:08 +02:00
Bernd Hahnebach
44a47e278d
FEM: mesh tools, typo
2019-08-28 21:49:02 +02:00
Bernd Hahnebach
a9e63c5b23
FEM: mesh tools, use double string quotes instead of single
2019-08-28 21:48:56 +02:00
Daniel Wood
9d5b76b395
Update the adaptive form so the widgets align.
2019-08-28 20:17:57 +01:00
Daniel Wood
0621047cf8
Change the coolant label on the setupsheet
...
... to be consistent with the rest of the forms.
2019-08-28 20:00:37 +01:00
Daniel Wood
c10e788367
Add coolant to the linuxcnc_post
2019-08-28 19:40:09 +01:00