Commit Graph

8933 Commits

Author SHA1 Message Date
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
Wolfgang E. Sanyer
d4bb01835c Fixed Draft.makeSketch to work with planes other than xy. 2016-08-12 22:48:33 -04:00
wmayer
ff5869acae cleanup SoAutoZoomTranslation 2016-08-12 17:55:53 +02:00
wmayer
4790648065 adjust fix for BSD for time info from commit 5f0073b 2016-08-12 14:03:16 +02:00
wmayer
006de1ab19 issue #0002666: Error on Save File 2016-08-12 13:33:48 +02:00
wmayer
f1bfd5cee2 fix wrong error text, fix activation of sub-widgets 2016-08-12 13:26:52 +02:00
qingfengxia
1c51a182f6 bugfix: Taskview ui, typo, coding format for FluidBoundary 2016-08-12 11:05:55 +02:00
qingfengxia
40243fc89a Add Command and Icon FemConstraintFluidBoundary for CFD analysis 2016-08-12 11:05:55 +02:00
qingfengxia
17829b9727 Add ViewProvider and TaskPanel FemConstraintFluidBoundary for CFD analysis 2016-08-12 11:05:55 +02:00
wmayer
df8e53630d using unicode codepage directly gives a warning, use utf-8 encoding instead 2016-08-12 10:45:14 +02:00
WandererFan
cb05040a0f Vertical Diameter legible from right per stds 2016-08-12 10:01:16 +02:00
WandererFan
d8ccf14ec3 Prevent creation of superflous QGItems for Text Fields 2016-08-12 10:01:16 +02:00
WandererFan
ef69519261 Diameter symbol & text orientation to standards. 2016-08-12 10:01:16 +02:00
WandererFan
3eb9037ada Handle non-latin1 chars in template 2016-08-12 10:01:16 +02:00
WandererFan
6ad50696b9 Replace GPL osifont file with LGPL3 version 2016-08-12 10:01:16 +02:00
wmayer
30f496ef4c fix build failure on Linux&OSX 2016-08-12 09:33:00 +02:00
wmayer
7f835a0c26 add quantity box to unit calculator and allow to set all pre-defined units 2016-08-11 19:03:16 +02:00
wmayer
e5d8871fea rework units dialog 2016-08-11 17:32:58 +02:00
wmayer
4ee1bbcabe query wrong parameter to check for path of ccx when set in preferences 2016-08-11 16:17:35 +02:00
DeepSOIC
137c951e7b Gui: Selection: Py interface for setting pick radius
Gui.ActiveDocument.ActiveView.getViewer().setPickRadius(new_val)
2016-08-10 18:46:45 +02:00
DeepSOIC
93516e42a7 Sketcher: fix selectability of constraints when pickRadius is large
Constraints still do not respect pickRadius. I haven't found a way to
fix it.
2016-08-10 18:46:45 +02:00
DeepSOIC
93d5cf3f98 Gui: Selection: pick radius support 2016-08-10 18:46:45 +02:00