Yorik van Havre
88f47ee725
Fixed coverity issues
...
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00
wmayer
fa5b47df16
Fix scan coverity issues:
...
CID 184350: Null pointer dereferences
2018-11-20 15:11:43 +01:00
Yorik van Havre
63bb7db4a6
Fixed coverity issues
...
184348 Bad use of null-like value
175794 Copy-paste error
172913 Copy-paste error
169506 Structurally dead code
169504 Bad use of null-like value
169013 Copy-paste error
2018-11-19 19:36:50 -02:00
Yorik van Havre
31b896ad07
Fixed coverity issues
...
184298 Bad use of null-like value
183849 Bad use of null-like value
183846 Bad use of null-like value
183845 Copy-paste error
183844 Bad use of null-like value
2018-11-19 19:17:56 -02:00
wmayer
a41a130704
some additions to pR 1794:
...
add a special XMLAttributeError class to indicate an error when accessing a missing attribute
in PropertyContainer::Restore make error handling more flexible
2018-11-19 19:07:56 +01:00
Abdullah Tahiri
36d748c29e
Example implementation
2018-11-19 11:31:10 +01:00
Abdullah Tahiri
012e35253a
fix exception catching by reference
2018-11-19 11:31:09 +01:00
Abdullah Tahiri
bf6f2b855d
Property: dropping isorderrelevant boolean member in favour of bit in the status of the properties
2018-11-19 11:31:09 +01:00
Abdullah Tahiri
a7e0b93dd1
Example code of propagating the result of the partial restore
2018-11-19 11:31:08 +01:00
Abdullah Tahiri
af7d75c43f
SketchObject: Activate relevant propertylist order
2018-11-19 11:31:08 +01:00
Abdullah Tahiri
829420df93
PropertyGeometryList: enable a partial recover on certain errors
2018-11-19 11:31:07 +01:00
Abdullah Tahiri
856dbf377f
App:Geometry make LineSegments do a best effort for recovering erroneus data
2018-11-19 11:31:07 +01:00
wandererfan
3ec65a32ec
Fix View position in ClipGroup
2018-11-19 10:12:09 +01:00
wandererfan
fdb6bc7c76
Fix #3699 ClipGroup Regression from v0.17
2018-11-19 10:12:08 +01:00
wandererfan
deeceead68
Fix #3698 Detail of Section View
2018-11-19 10:12:08 +01:00
wmayer
a0795e1236
improve whitespaces
2018-11-19 10:03:50 +01:00
Abdullah Tahiri
434ce91e8d
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
50af914311
Sketcher: Fillet increase debugging verbose and disable by default
2018-11-18 12:03:05 +01:00
Yorik van Havre
75b939eb21
Draft: re-added missing arcFrom2Pts function in DraftGeomUtils
2018-11-16 18:28:01 -02:00
wmayer
e63fa8161a
fix re-throwing an exception
2018-11-15 17:20:55 +01:00
wmayer
9aa6a700d8
Replace Base::Exception with appropriate subclass
2018-11-14 19:45:20 +01:00
wmayer
d7ec2b1368
Replace Base::Exception with appropriate subclass
2018-11-14 19:42:10 +01:00
wmayer
00de5bb7ad
Replace Base::Exception with appropriate subclass
2018-11-14 19:28:00 +01:00
wmayer
21d01fe6fc
Replace Base::Exception with appropriate subclass
2018-11-14 19:27:52 +01:00
wmayer
d4bf7d1f6f
Replace Base::Exception with appropriate subclass
2018-11-14 18:02:49 +01:00
wmayer
cda4c96fa8
Replace Base::Exception with appropriate subclass
2018-11-14 17:47:43 +01:00
wmayer
d11bfed7c6
Replace Base::Exception with appropriate subclass
2018-11-14 17:36:00 +01:00
wmayer
c7f881ee43
Replace Base::Exception with appropriate subclass
2018-11-14 17:23:48 +01:00
wmayer
145cefb131
Replace Base::Exception with appropriate subclass
2018-11-14 17:19:30 +01:00
wmayer
e22ab44e61
Replace Base::Exception with appropriate subclass
2018-11-14 17:11:53 +01:00
wmayer
66b889044b
fixes 0003689: Snap to grid checkbox in edit control widget does not update
2018-11-14 12:40:39 +01:00
PoroCYon
653a5ea047
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
31963f16c1
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
15c37ccf06
[AddonManager] Fix bug to install macros' other files
2018-11-13 13:28:53 +01:00
wmayer
4accbb257c
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
Yorik van Havre
401dbc53dc
Arch: fixed bug in Schedule
2018-11-12 14:28:43 -02:00
lorenz
943b9970cc
ship: repair hydrostatics-plotting for py2
2018-11-11 14:34:10 -03:00
wmayer
05550fcdf0
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
d9fb3a2ac5
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
Abdullah Tahiri
380f36eff1
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
605289585f
Sketcher: Ellipse trim, handle multiple intersection
2018-11-09 22:30:04 +01:00
Abdullah Tahiri
200d9db0c2
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
fce600e29c
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
Yorik van Havre
0ee70328a0
Start: minor py3 fix
2018-11-09 17:59:36 -02:00
Yorik van Havre
94a5fd7408
Arch: Fixed buggy import/export of objects based on rectangles to IFC
2018-11-09 17:59:17 -02:00
Yorik van Havre
3956cee0ac
Arch: Fixed buggy import/export of 2D objects to IFC
2018-11-09 16:56:59 -02:00
wmayer
1631935bc4
fixes 0003652: Missing little expression icon
2018-11-09 16:48:44 +01:00
wmayer
5737b3241f
Allow user to define a custom minimum deviation for the tessellation
2018-11-09 13:42:38 +01:00
wmayer
172f0a0016
fix -Wabsolute-value
2018-11-09 12:46:36 +01:00
looooo
5a915d5db6
add function to retrive femmesh edges by a TopoDS_Edge
2018-11-09 11:11:59 +01:00