Commit Graph

7835 Commits

Author SHA1 Message Date
Yorik van Havre
8b7bbc1bc9 Draft: Fixed grid that was not working anymore after closing a document 2016-08-17 16:38:23 -03:00
Yorik van Havre
b8eb6e2681 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
3da589d674 Arch: Fixed transparency bug in windows 2016-08-17 13:19:47 -03:00
wmayer
8bd18797c4 Coverity: fix high impact issues 2016-08-17 15:33:04 +02:00
wmayer
cc97241969 Coverity issues: fix Mesh, Points and Inspection module 2016-08-17 14:08:47 +02:00
wmayer
d4368eb186 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
bacb0867dd Do not get transparency from DiffuseColor if not set per face - fixes #2675 2016-08-16 23:45:17 -03:00
Yorik van Havre
4bca3b694d Draft: fixed issues with DXF import when used by OpenSCAD WB 2016-08-16 16:43:47 -03:00
wmayer
c4ad533d69 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-08-16 16:35:20 +02:00
wmayer
683f943d38 Coverity issues:
129097
129098
129099
129101
129102
129132
129134
129203
2016-08-16 16:34:51 +02:00
Yorik van Havre
f950486c64 Arch: Fixed use of tempfile.mkstemp - fixes #2674 2016-08-16 11:17:45 -03:00
wmayer
1134ab9747 fix warning 2016-08-16 15:24:33 +02:00
WandererFan
2d1ef50552 Linear dims closer to stds 2016-08-16 14:29:15 +02:00
WandererFan
2005541967 Fix sections not in xy plane 2016-08-16 14:29:15 +02:00
WandererFan
f20320d2b7 Implement automatic scaling 2016-08-16 14:29:15 +02:00
WandererFan
498e37b39c Fix dimension highlighting problems
Derived all lines from PrimPath
2016-08-16 14:29:15 +02:00
WandererFan
a6b9f5286c Remove refs to Dim centerline property from commands 2016-08-16 14:29:15 +02:00
WandererFan
a4a3cc6f88 QGIArrow inherits QGIPrimPath 2016-08-16 14:29:15 +02:00
WandererFan
ff12c020e0 Add vertex-edge dimension 2016-08-16 14:29:15 +02:00
WandererFan
0805e7c854 Add centermarks for circles in Views 2016-08-16 14:29:15 +02:00
wmayer
cb9be09512 Coverity issues:
129643
129654
129689
129714
2016-08-16 14:05:52 +02:00
wmayer
810ca7984c free file descriptor when closing file 2016-08-16 12:55:50 +02:00
wmayer
eb0647b144 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
bdd86eea7d FEM: prefs, move general prefs to general prefs class 2016-08-16 11:03:28 +02:00
Bernd Hahnebach
6415a988f5 FEM: move prefs path off General prefs tab to BaseApp/Preferences/Mod/Fem/General 2016-08-16 11:03:28 +02:00
Ian Rees
ee8039d54a TechDraw: Clean up warnings about missing override 2016-08-16 08:15:53 +12:00
Ian Rees
f8a646eb4c TechDraw: Coverity warning CID 151763 2016-08-16 08:15:53 +12:00
Ian Rees
48c8f1cf60 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
6858ef9c41 TechDraw: Fix Coverity "Structurally Dead Code"
CID 152020
2016-08-16 08:15:09 +12:00
Bernd Hahnebach
84ea8cdee1 FEM: fix prefs 2016-08-15 21:39:24 +02:00
Bernd Hahnebach
bf03c91781 FEM: code formating, replace tabulator with spaces 2016-08-15 21:39:01 +02:00
Bernd Hahnebach
80bd3c7cc3 FEM: mesh python api, add methods to add edges with id 2016-08-15 21:38:31 +02:00
Bernd Hahnebach
20a62a38fc FEM: mesh python api, add method to add faces with id 2016-08-15 21:38:09 +02:00
Bernd Hahnebach
8cad28f4ea FEM: mesh python api, delete some empty lines 2016-08-15 21:37:35 +02:00
Bernd Hahnebach
fd71773b72 FEM: mesh python api, better error message 2016-08-15 21:37:08 +02:00
Bernd Hahnebach
c645baddb6 FEM: python mesh tools, fix key name for penta15 and format code better 2016-08-15 21:36:42 +02:00
Bernd Hahnebach
7173c40ac8 FEM: inp mesh importer, add module to cmakefiles 2016-08-15 21:36:21 +02:00
fandaL
3ff0ab0f79 FEM: import mesh from .inp file 2016-08-15 21:35:54 +02:00
wmayer
af4ef2fa7f 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
dde8c3f4c1 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
f06de8d916 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
07dc86fc10 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
4d77921111 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
b9502394d5 use lower epsilon for double value in property editor 2016-08-15 10:59:27 +02:00
wmayer
1fed75002e + issue #0002546: FEM constraint parameters can't be smaller than 0,01 (N) 2016-08-14 23:07:24 +02:00
wmayer
c1febd98f1 fix disappearing constraint icons when using a symmetry constraint 2016-08-14 19:25:53 +02:00
wmayer
7872a9a6dc fix displacement of constraint icons in sketch edit mode 2016-08-14 18:02:22 +02:00
wmayer
554875b930 add method to get view that contains a given node 2016-08-14 18:01:10 +02:00
wmayer
279531e89d remove superfluous semicolons 2016-08-14 17:10:49 +02:00
wmayer
5aefa4e67d make code more readable 2016-08-14 16:46:58 +02:00