Commit Graph

5428 Commits

Author SHA1 Message Date
Alexander Golubev
5aa4679847 salomesmesh: fix tests in conditions
Lots of warnings like:
src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Command.cpp|57 col 6| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
||         if (!myType == SMESHDS_AddNode)
||

Most of them resulted in conditions being always false.
2015-08-29 18:35:50 +02:00
Alexander Golubev
f5cd28fc53 Pivy: suppress warning
Warning was:
src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh.cpp|2303 col 31| warning:
'&&' within '||' [-Wlogical-op-parentheses]
||       !hasConstructionFaces() && elem->GetType() == SMDSAbs_Face ||
||       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2015-08-29 18:35:49 +02:00
Alexander Golubev
4b992c27bb Pivy: fix several warnings
Warnings like:
    warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]

All was due to small defined size of the onstack array.
2015-08-29 18:35:48 +02:00
Alexander Golubev
554d8f4078 Pivy: Fix a compiller warning with wrong check
Warning was:
src/3rdParty/Pivy-0.5/coin_wrap.cpp|244969 col 15| warning: comparison of function 'time' not equal to a null pointer is always true [-Wtautological-pointer-compare]
||           if (time != NULL) {
||               ^~~~    ~~~~

This one supposed to be a copy-paste typo.
2015-08-29 18:35:46 +02:00
wmayer
6a18530a8d + if FreeCAD is not running in Gui mode do not replace Python std. output 2015-08-29 17:22:40 +02:00
wmayer
c3656ad646 + replace assert() to avoid crash 2015-08-29 16:34:36 +02:00
Yorik van Havre
f70d5be2b7 Arch: Fixed DAE export - fixes #2219 2015-08-28 17:46:52 -03:00
Przemo Firszt
daa024cc79 Material: Add missing Density fields using Tools
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:59:02 +01:00
Przemo Firszt
fdb782c5c7 Materials: Add Materials.ods file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:59:02 +01:00
Przemo Firszt
729c1b4a73 Materials: Add Tools for FCMat<->ods conversion
Testing and proofreading by sgrogan

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:51 +01:00
Przemo Firszt
285ad9dbfa Materials: Update Readme.txt
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt
84a88c4d2f Material: Add TEMPLATE.FCMat file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt
d2c7366f9a Material: Clean material files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
wmayer
8ec1bab139 + fixes #0002229: some ttf fonts make Draft.makeShapeString crash 2015-08-26 22:56:37 +02:00
wmayer
a801fb20b8 + disable SVG and IDTF export for 3d view 2015-08-26 22:11:53 +02:00
wmayer
99fc24ea07 + fixes #0002221 2015-08-26 19:24:00 +02:00
wmayer
84a65a53ef + remove method View3DInventor::dumpSelection 2015-08-26 18:58:59 +02:00
wmayer
04cb2d4411 + code refactoring for VRML and Inventor export 2015-08-26 18:55:14 +02:00
wmayer
a7a1edbc64 + restore old axonometric behaviour 2015-08-26 13:44:01 +02:00
Yorik van Havre
d13179b63f Arch: IFC exporter now exports cloned Arch objects with shared geometry 2015-08-25 22:11:40 -03:00
wmayer
27dc80c846 + support of checkable commands 2015-08-25 18:01:37 +02:00
wmayer
1e745a6a6f + improve formatting 2015-08-25 15:11:42 +02:00
Yorik van Havre
70550739b6 Arch: IFC importer now treats objects with shared shapes as clones 2015-08-21 11:42:42 -03:00
wmayer
60707fc256 + algorithm to split a segment from the mesh 2015-08-20 08:49:22 +02:00
Przemo Firszt
15d7369de8 FEM: Force consistent DENSITY formatting
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-18 13:44:28 +01:00
Przemo Firszt
5e3dc0c2c9 Tests, FEM: Fix inp file writing test
It's a compare line-by-line without comment lines now instead of
previously used md5 sum comparison.

inp pre filtering method suggested by Far-Zer
File location fixes by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-18 13:44:28 +01:00
Yorik van Havre
53eb0dd758 Arch: Minor fix in OBJ exporter - fixes #2216 2015-08-17 20:27:19 -03:00
Yorik van Havre
0b44729bbe Draft: Small fix in copying dimensions and texts (didn't take the original style) 2015-08-17 11:50:02 -03:00
Yorik van Havre
6d1cb3c97a Draft: Small fixes in the new DXF importer 2015-08-17 11:48:02 -03:00
Bernd Hahnebach
0c82efe57a Arch: fix in import structural analysis ifc 2015-08-14 18:14:30 -03:00
Yorik van Havre
62c0a19071 Added preferences setting for default App::Annotation color 2015-08-13 23:12:00 -03:00
Yorik van Havre
c733370cee Adapted cmake files for changes made in previous commit 2015-08-13 16:08:23 -03:00
Yorik van Havre
617088284c Merge branch 'master' of github.com:FreeCAD/FreeCAD 2015-08-13 15:55:43 -03:00
Yorik van Havre
f64678a7ee Removed old StartPage files (cf debian bug #726805) 2015-08-13 15:55:21 -03:00
wmayer
4dee0663c3 + test command to show race conditions in Console class
+ fix race conditions in Console class
2015-08-13 18:57:52 +02:00
Yorik van Havre
9d10f3e026 Draft: Added text support to new DXF importer - issue #2205 2015-08-13 10:06:43 -03:00
wmayer
790714712a + avoid slow heap checking in debug mode when loading a mesh file 2015-08-12 17:51:22 +02:00
wmayer
ab8d8a04ad + check for null pointer when trying to get associated view provider of a document object 2015-08-12 17:44:29 +02:00
wmayer
c79662e35b + fix include dirs for DraftUtils 2015-08-12 17:34:09 +02:00
Yorik van Havre
51cff8f0c3 Draft: Added blocks support to the new dxf importer #2205 2015-08-12 10:23:55 -03:00
Bernd Hahnebach
73808aa15d Arch: remove trailling white spaces 2015-08-11 20:55:16 +02:00
Bernd Hahnebach
4dc09efd0d Arch: added object types to struct ifc import 2015-08-11 11:05:16 -03:00
Bernd Hahnebach
aec3ab60cb Arch: add options to import structural engineering ifc 2015-08-11 11:05:16 -03:00
Yorik van Havre
d5f80ff61c Draft: Starting a C++ DXF importer - issue #2205 2015-08-10 19:55:59 -03:00
Yorik van Havre
4f6a50ac27 Fixed git link in readme 2015-08-06 11:11:04 -03:00
Yorik van Havre
7fd2157ab0 Nicer readme file with screenshot 2015-08-06 11:08:26 -03:00
wmayer
13bf1a9cf5 + make FEM unittest more platform independent 2015-08-05 11:31:14 +02:00
Przemo Firszt
f395f38d09 Tests, FEM: Add missing Density and update md5 of standard inp file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-05 11:02:37 +02:00
Przemo Firszt
95a7083267 Gui: add missing X11 lib
Code by wmayer
2015-08-05 11:02:36 +02:00
Yorik van Havre
192dca36c5 Draft: small bugfix - fixes #2159 2015-08-04 23:58:46 -03:00