Commit Graph

18021 Commits

Author SHA1 Message Date
wmayer
c7affbdf23 fix -Wunused-variable 2019-09-02 15:55:58 +02:00
Bernd Hahnebach
03fac44157 FEM: commands and manager, typo in property value 2019-09-02 13:06:56 +02:00
Bernd Hahnebach
e42b73e853 FEM: gmsh tools, move system import into dev 2019-09-02 13:05:08 +02:00
Bernd Hahnebach
fef48f30b2 FEM: gmsh tools, use join from os as a more robust path builder 2019-09-02 13:05:03 +02:00
Bernd Hahnebach
31359faa40 FEM: gmsh tools, resort imports 2019-09-02 13:04:58 +02:00
Bernd Hahnebach
b2e7e67bab FEM: gmsh tools, typos 2019-09-02 09:03:37 +02:00
Bernd Hahnebach
1780c82d2d Arch: IFC export, small code formating 2019-09-02 07:38:37 +02:00
Bernd Hahnebach
ecaf9000f6 Arch IFC import and export, new lines and comments 2019-09-02 07:38:28 +02:00
Bernd Hahnebach
345c6dcc99 FEM: gmsh tools, fix regression and explizit use double quotes in geo file 2019-09-01 22:29:21 +02:00
wmayer
ae745e1c49 fix bug in Path module: str has no attribute UserString 2019-09-01 22:14:53 +02:00
Yorik van Havre
6666a33433 Draft: Added shortcut to toggle near snap during drawing 2019-09-01 13:00:57 -03:00
wmayer
05649e3848 include missing header 2019-09-01 17:25:42 +02:00
luz.paz
24aeb56183 AddonManager: Add BCFPlugin Workbench logo to dialog 2019-08-30 15:57:12 +02:00
KeithSloan
459edb13db Fix OpenSCAD Frustrum 2019-08-30 15:55:15 +02:00
Zheng, Lei
0ad1d0b9e6 Sketcher: fix missing update on expression change 2019-08-30 15:52:31 +02:00
Zheng, Lei
611159b000 App: remove unused variable 2019-08-30 15:52:18 +02:00
Zheng, Lei
087349c07a Gui: add warning to DlgExpressionInput
Warn when binding expression with unit to unit-less properties.
2019-08-30 15:52:03 +02:00
Zheng, Lei
e8e1a67e50 Gui: restore static property order in PropertyView 2019-08-30 15:51:47 +02:00
Zheng, Lei
3c242e05f6 App: ignore unit in PropertyBool/Float/Integer
In other word, those property now accept expression result with a unit,
by ignoring it.
2019-08-30 15:50:26 +02:00
Zheng, Lei
05155daf82 App: improve exception message in PropertyExpressionEngine 2019-08-30 15:50:13 +02:00
Zheng, Lei
18dffcba47 Gui: auto close transaction on Document resetEdit 2019-08-30 15:49:59 +02:00
Zheng, Lei
880d90e4f9 App: fix virtual function shadowing in PropertyXLinkSub 2019-08-30 15:49:41 +02:00
Zheng, Lei
b4c500776d Gui: fix PythonWrapper::fromQIcon() 2019-08-30 15:47:39 +02:00
Zheng, Lei
405ec26e3a Part: fix missing signal disconnect in TaskFaceColors 2019-08-30 15:47:17 +02:00
Zheng, Lei
0c0ae77f2c Base: fix pyCall() exception
This function is wildly used in FeaturePython and
ViewProviderPythonFeature, which explicitly catches Py::Exception, not
Base::Exception. So pyCall() should throw Py::Exception, too.
2019-08-30 15:47:04 +02:00
Zheng, Lei
a7a34ab983 App: more sanity check in PropertyContainerPy 2019-08-30 15:46:47 +02:00
Zheng, Lei
deede02ed8 App: more sanity check in ObjectIdentifier 2019-08-30 15:46:33 +02:00
Zheng, Lei
656303fe9f Gui: fix ViewProviderLink dropObjectEx() 2019-08-30 15:46:10 +02:00
Zheng, Lei
8d5f3c7e1d App: do not return null Shape in PropertyContainerPy 2019-08-30 15:45:58 +02:00
Zheng, Lei
d967e86fcc App: fix Python object leak in ObjectIdentifier 2019-08-30 15:45:44 +02:00
Zheng, Lei
bfca168ab7 App: fix crash on accessing non-existent attribute in ObjectIdentifier 2019-08-30 15:45:28 +02:00
Zheng, Lei
ed3a759018 Gui: fix GeoFeatureGroupExtension
The change in ViewProviderGeoFeatureGroupExtension.claimChildren() is
so that GeoFeatureGroupExtension.getSubObjects() can exclude non direct
children.
2019-08-30 15:45:21 +02:00
Zheng, Lei
432c9ae15b Gui/PartDesign: fix setActiveObject() for Part and Body 2019-08-30 15:02:48 +02:00
Zheng, Lei
778ccc2692 Gui: more exception handling in tree view 2019-08-30 15:01:25 +02:00
Zheng, Lei
0bc6722943 Gui: add View3DPy.hasClippingPlane() 2019-08-30 15:00:42 +02:00
Zheng, Lei
7128cf7989 Sketcher: fix lost of constraint in undo/redo 2019-08-30 14:57:41 +02:00
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