Commit Graph

14500 Commits

Author SHA1 Message Date
Abdullah Tahiri
580bb268d4 make App::Property aware of whether the order on the list is relevant or not 2018-11-19 11:31:07 +01:00
Abdullah Tahiri
a459ee3f22 New Base::Exception type RestoreError 2018-11-19 11:31:07 +01:00
wandererfan
ddfa510565 Fix View position in ClipGroup 2018-11-19 10:12:09 +01:00
wandererfan
7909ce83f9 Fix #3699 ClipGroup Regression from v0.17 2018-11-19 10:12:08 +01:00
wandererfan
e67b84c5ec Fix #3698 Detail of Section View 2018-11-19 10:12:08 +01:00
wmayer
893f038717 improve whitespaces 2018-11-19 10:03:50 +01:00
Abdullah Tahiri
5705763088 Sketcher: Improving group constraint preselection
=================================================

the position obtained from the SoPath of the picked point when entering
the combined icon object is not the center of the icon, what leads to
wrong preselection or no preselection at all.

This commit uses the translation of the Constraint node, which is the same that
is used to locate the constraint icons on the screen in the first place.
2018-11-18 12:03:13 +01:00
Abdullah Tahiri
6df9b895ff Sketcher: Fillet increase debugging verbose and disable by default 2018-11-18 12:03:05 +01:00
Yorik van Havre
fc5b6288c6 Draft: re-added missing arcFrom2Pts function in DraftGeomUtils 2018-11-16 18:28:01 -02:00
wmayer
6d836ad7a5 improve drag and drop in tree view 2018-11-16 17:19:58 +01:00
plgarcia
f89b996396 Improvement and correction drags and drops in tree views. 2018-11-16 13:14:57 +01:00
wmayer
e623049763 use more speaking variable names 2018-11-16 11:24:25 +01:00
wmayer
e58f72933a fix DocumentObject::isInInListRecursive and DocumentObject::isInOutListRecursive 2018-11-16 01:14:33 +01:00
wmayer
c009a206f8 make _getInListRecursive much more efficient by avoiding to process objects multiple times 2018-11-15 23:17:04 +01:00
wmayer
5479936894 remove superfluous error messages in In/Out list methods 2018-11-15 22:16:29 +01:00
wmayer
b3721f8613 fix re-throwing an exception 2018-11-15 17:20:55 +01:00
wmayer
af36a78f7f harmonize settings for DAGView with other dockable windows 2018-11-15 10:58:14 +01:00
wmayer
d86c83d6c5 Enable again the standalone tree and property view by default 2018-11-15 10:24:53 +01:00
wmayer
1458c2364a fix file guards 2018-11-14 23:58:19 +01:00
wmayer
23addab20d fix exception message 2018-11-14 23:18:27 +01:00
wmayer
7dc13bd2d6 Replace Base::Exception with appropriate subclass 2018-11-14 23:17:42 +01:00
wmayer
e02695b91f Replace Base::Exception with appropriate subclass 2018-11-14 19:45:20 +01:00
wmayer
b0247d184e Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
wmayer
7acdb56d92 Replace Base::Exception with appropriate subclass 2018-11-14 19:28:00 +01:00
wmayer
56db19824e Replace Base::Exception with appropriate subclass 2018-11-14 19:27:52 +01:00
Yorik van Havre
f6205c6b93 Selection view: only select search results when enter is pressed 2018-11-14 15:11:54 -02:00
wmayer
fc16bcbfca Replace Base::Exception with appropriate subclass 2018-11-14 18:02:49 +01:00
wmayer
f9e487e4b2 Replace Base::Exception with appropriate subclass 2018-11-14 17:47:43 +01:00
wmayer
c5a5eb6a83 Replace Base::Exception with appropriate subclass 2018-11-14 17:36:00 +01:00
wmayer
9d80db2793 Replace Base::Exception with appropriate subclass 2018-11-14 17:23:48 +01:00
wmayer
560b415f19 Replace Base::Exception with appropriate subclass 2018-11-14 17:19:30 +01:00
wmayer
f34ec4534c Replace Base::Exception with appropriate subclass 2018-11-14 17:11:53 +01:00
wmayer
4f02b209fc fixes 0003689: Snap to grid checkbox in edit control widget does not update 2018-11-14 12:40:39 +01:00
PoroCYon
da09f7c3d9 OpenSCAD: fix error in workaroundforissue128needed with date formats (YYYYMMDD vs YYYY.MM.DD)
This happens when the git version of OpenSCAD is installed (which uses YYYYMMDD), instead of
the latest released version (from 2015, which uses YYYY.MM.DD).
2018-11-14 00:14:19 +01:00
wmayer
a7094210f8 Fix scan coverity issues:
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
Gaël Écorchard
735b0a18b9 [AddonManager] Fix bug to install macros' other files 2018-11-13 13:28:53 +01:00
wmayer
b8ed93605d Fix scan coverity issues:
CID 184299:  Null pointer dereferences  (FORWARD_NULL)
CID 184297:  Error handling issues  (UNCAUGHT_EXCEPT)
CID 184296:  Uninitialized members  (UNINIT_CTOR)
CID 184292:  Uninitialized members  (UNINIT_CTOR)
2018-11-13 13:20:16 +01:00
wmayer
6a6ea0a5a6 add search function to tree view 2018-11-13 11:27:34 +01:00
Yorik van Havre
c18785fdb3 Arch: fixed bug in Schedule 2018-11-12 14:28:43 -02:00
lorenz
36f5421b34 ship: repair hydrostatics-plotting for py2 2018-11-11 14:34:10 -03:00
wmayer
de074ec4f3 fixes 0003518: Expressions (fx) not updated 2018-11-11 10:58:48 +01:00
wmayer
04005b5e45 fixes 0003680: Export (Ctrl+E) doesn't check to make sure that object being exported is a model at all 2018-11-10 19:02:50 +01:00
wandererfan
9d384bd74e Fix #3674 inverted Detail from DPG
- Base views from ProjectionGroups can
  have inverted projection direction or
  rotation vector vs regular views. This
  causes Detail views to be inverted.
2018-11-10 17:04:58 +01:00
wmayer
9e2acc477c When activating a part container in the tree view make sure all parent items are expanded 2018-11-10 16:13:10 +01:00
wmayer
442e2dd381 add method to check if an open transaction is empty
This is needed to avoid to incorrectly abort a transaction if a recompute was done between opening and closing an editor in the property view
2018-11-10 14:50:58 +01:00
wmayer
b65faeff77 fixes 0003627: Hole fails to restore from file 2018-11-10 01:13:42 +01:00
Abdullah Tahiri
07cf5b10d7 Sketcher: Trim support multiple intersections for circles
=========================================================

The problem with ellipses:
https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&sid=37481b7a6c1ae2614c9840fc27a7773e&start=60#p267248

The problem with circles:
https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&sid=37481b7a6c1ae2614c9840fc27a7773e&start=60#p267536
2018-11-09 22:30:04 +01:00
Abdullah Tahiri
084c483603 Sketcher: Ellipse trim, handle multiple intersection 2018-11-09 22:30:04 +01:00
Abdullah Tahiri
4245ae6863 Sketcher: Ellipse trimming with internal aligment geometry
==========================================================

Trimming was not considering a case where an ellipse is trimmed with respect to its own internal aligment geometry.

This resulted in Coincident Constraints with PointPos = Sketcher::none, which is invalid.
2018-11-09 22:30:03 +01:00
wandererfan
f10c28fb5b Handle case of no points returned
- GeomAPI_ProjectPointOnCurve sometimes returns
  zero points and/or throws "NotDone" exception.
2018-11-09 22:26:37 +01:00