Commit Graph

8254 Commits

Author SHA1 Message Date
Yorik van Havre
639cb0460a Arch: Added preferences to leave some subcomponents unclaimed by their host object (allows to place them in groups) 2016-08-17 13:21:17 -03:00
Yorik van Havre
e739613173 Arch: Fixed transparency bug in windows 2016-08-17 13:19:47 -03:00
wmayer
d98337b5f2 Coverity: fix high impact issues 2016-08-17 15:33:04 +02:00
wmayer
9b013f7254 Coverity issues: fix Mesh, Points and Inspection module 2016-08-17 14:08:47 +02:00
wmayer
e4f0ddad84 Coverity issues: check return value of dynamic_cast or replace it with static_cast 2016-08-17 10:43:58 +02:00
Yorik van Havre
3dd3461aec Do not get transparency from DiffuseColor if not set per face - fixes #2675 2016-08-16 23:45:17 -03:00
Yorik van Havre
20d6c93fd5 Draft: fixed issues with DXF import when used by OpenSCAD WB 2016-08-16 16:43:47 -03:00
wmayer
b20dd3f7ab Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-08-16 16:35:20 +02:00
wmayer
ab525189bf Coverity issues:
129097
129098
129099
129101
129102
129132
129134
129203
2016-08-16 16:34:51 +02:00
Yorik van Havre
81c5994e05 Arch: Fixed use of tempfile.mkstemp - fixes #2674 2016-08-16 11:17:45 -03:00
wmayer
58bf4ca455 fix warning 2016-08-16 15:24:33 +02:00
WandererFan
0023758263 Linear dims closer to stds 2016-08-16 14:29:15 +02:00
WandererFan
0d0040355c Fix sections not in xy plane 2016-08-16 14:29:15 +02:00
WandererFan
cf90d69319 Implement automatic scaling 2016-08-16 14:29:15 +02:00
WandererFan
fa57b7a5de Fix dimension highlighting problems
Derived all lines from PrimPath
2016-08-16 14:29:15 +02:00
WandererFan
5c63c8a957 Remove refs to Dim centerline property from commands 2016-08-16 14:29:15 +02:00
WandererFan
5c62493b31 QGIArrow inherits QGIPrimPath 2016-08-16 14:29:15 +02:00
WandererFan
4fe4c31966 Add vertex-edge dimension 2016-08-16 14:29:15 +02:00
WandererFan
af7d257b91 Add centermarks for circles in Views 2016-08-16 14:29:15 +02:00
wmayer
464a8f3860 Coverity issues:
129643
129654
129689
129714
2016-08-16 14:05:52 +02:00
wmayer
0e0d3446ba free file descriptor when closing file 2016-08-16 12:55:50 +02:00
wmayer
1c8045756f Coverity issues:
129727: Structurally dead code
151979, 133461: Uninitialized scalar field
129785, 129786, 129787: Use after free
2016-08-16 12:23:12 +02:00
Bernd Hahnebach
18555102a1 FEM: prefs, move general prefs to general prefs class 2016-08-16 11:03:28 +02:00
Bernd Hahnebach
302dccdb3d FEM: move prefs path off General prefs tab to BaseApp/Preferences/Mod/Fem/General 2016-08-16 11:03:28 +02:00
Ian Rees
d9b4213989 TechDraw: Clean up warnings about missing override 2016-08-16 08:15:53 +12:00
Ian Rees
b432a0333c TechDraw: Coverity warning CID 151763 2016-08-16 08:15:53 +12:00
Ian Rees
34583fad05 TechDraw: Fix some Coverity Unchecked dynamic_cast
CIDs from sasobadovinac-FreeCAD:
151684
151714
151715
151716
151718
151719
151720
151721
151722
151724
151725
151730
151749
151759
151771
151794
2016-08-16 08:15:36 +12:00
Ian Rees
66bd0f6b90 TechDraw: Fix Coverity "Structurally Dead Code"
CID 152020
2016-08-16 08:15:09 +12:00
Bernd Hahnebach
892271c0d5 FEM: fix prefs 2016-08-15 21:39:24 +02:00
Bernd Hahnebach
fe47ef78ab FEM: code formating, replace tabulator with spaces 2016-08-15 21:39:01 +02:00
Bernd Hahnebach
55873e71bf FEM: mesh python api, add methods to add edges with id 2016-08-15 21:38:31 +02:00
Bernd Hahnebach
a39f57c7cc FEM: mesh python api, add method to add faces with id 2016-08-15 21:38:09 +02:00
Bernd Hahnebach
421b3f5abb FEM: mesh python api, delete some empty lines 2016-08-15 21:37:35 +02:00
Bernd Hahnebach
5f94c14b36 FEM: mesh python api, better error message 2016-08-15 21:37:08 +02:00
Bernd Hahnebach
4c64351da9 FEM: python mesh tools, fix key name for penta15 and format code better 2016-08-15 21:36:42 +02:00
Bernd Hahnebach
c923d23b70 FEM: inp mesh importer, add module to cmakefiles 2016-08-15 21:36:21 +02:00
fandaL
7d2f1cbaf3 FEM: import mesh from .inp file 2016-08-15 21:35:54 +02:00
wmayer
1e12b54a7b Coverity issues:
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
Mateusz Skowroński
7e0181463c QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2016-08-15 14:15:05 +02:00
Mateusz Skowroński
8c6bede7b8 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-08-15 14:14:40 +02:00
Mateusz Skowroński
f188995e55 QGraphicsItem * QGraphicsScene::itemAt(const QPointF & position) const is deprecated in Qt4.
Use QGraphicsItem * QGraphicsScene::itemAt(const QPointF & position, const QTransform & deviceTransform) const instead.

This change is Qt4/Qt5 neutral.
2016-08-15 14:14:10 +02:00
wmayer
aea769af3d use a stricter tolerance to check for equal points
add method IsEqual to Vector3 class to support user-defined tolerance
2016-08-15 14:09:26 +02:00
wmayer
e2345374ca use lower epsilon for double value in property editor 2016-08-15 10:59:27 +02:00
wmayer
99ad0b71b9 + issue #0002546: FEM constraint parameters can't be smaller than 0,01 (N) 2016-08-14 23:07:24 +02:00
wmayer
c5d0e08cbc fix disappearing constraint icons when using a symmetry constraint 2016-08-14 19:25:53 +02:00
wmayer
5013e89271 fix displacement of constraint icons in sketch edit mode 2016-08-14 18:02:22 +02:00
wmayer
549236f517 add method to get view that contains a given node 2016-08-14 18:01:10 +02:00
wmayer
9ad302526b remove superfluous semicolons 2016-08-14 17:10:49 +02:00
wmayer
65fbd5933b make code more readable 2016-08-14 16:46:58 +02:00
wmayer
bfb80b058c extend Python interface of sketcher and make non-parametic version working 2016-08-14 11:52:37 +02:00