Commit Graph

257 Commits

Author SHA1 Message Date
wmayer
5de6763ed5 add escape sequence when executing as Python string 2019-09-28 23:35:08 +02:00
wmayer
db8ec7c10e fix mesh cutting 2019-09-24 23:26:08 +02:00
wmayer
bc131c3b0d support to show color per face 2019-09-24 21:37:11 +02:00
wmayer
7407fe9ff3 cross-section of meshes 2019-09-21 01:23:28 +02:00
wmayer
5a83dc2c8f avoid several implicit conversions, replace several old C-casts, other minor changes 2019-09-18 23:27:54 +02:00
wmayer
a243b95209 fix -Wpedantic 2019-09-18 18:48:01 +02:00
wmayer
a247b7e6a5 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
Zheng, Lei
c8891be856 Gui: add coinRemoveAllChildren to work around Coin3D bug
See bug description:
https://bitbucket.org/Coin3D/coin/pull-requests/119/fix-sochildlist-auditing/diff

Because of path based rendering (SoFCPathAnnotation) in mouse over
highlight, this bug causes crash more frequently here comparing to
upstream.

All C++ calling of SoGroup::removeAllChildren() is replaced by
Gui::coinRemoveAllChildren(), and python code is fixed by monkey
patching SoGroup.removeAllChildren() in FreeCADGuiInit.py.
2019-08-17 14:52:11 +02:00
donovaly
b477294903 DlgSettingsMeshView.ui: fix a wrong '&' char 2019-07-21 19:10:39 +02:00
donovaly
669f4bd5ad DlgSettingsMeshView.ui: add and improve tooltips 2019-07-21 19:10:31 +02:00
donovaly
f54df863d2 add tooltips for meshing dialogs 2019-07-21 19:06:48 +02:00
wmayer
830ddc75ca Add command to show mesh segments 2019-07-04 16:56:02 +02:00
Yorik van Havre
236f890864 Merged translations from crowdin 2019-06-17 20:06:59 -03:00
Yorik van Havre
d890b4ec17 Updated master ts files 2019-06-17 17:28:12 -03:00
wmayer
540ad16eb5 improve usability of 'Add triangle' function 2019-05-27 11:49:36 +02:00
Yorik van Havre
ed386410bc Merged latest translations from crowdin 2019-05-10 19:19:37 -03:00
Yorik van Havre
c65bf365a1 Updated master translation files 2019-05-10 19:15:33 -03:00
Yorik van Havre
dcae6d027e Updated translations 2019-03-06 21:50:08 -03:00
wmayer
28b195d6e2 PVS issues:
consistently define copy constructor and assignment operator
remove superfluous casts
initialize member variables in constructor
avoid double assignment
2019-03-04 11:53:49 +01:00
Yorik van Havre
a70a82e19f Revert "Merged crowdin translations" for investigation due to some problems found in the translation files...
This reverts commit 9032c4c587.
2019-03-02 19:17:44 -03:00
Yorik van Havre
9032c4c587 Merged crowdin translations 2019-02-28 21:53:37 -03:00
wmayer
2bb5797568 PVS: V595 The pointer was utilized before it was verified against nullptr 2019-02-17 20:55:52 +01:00
wmayer
3845350c0a PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
wmayer
6704887afa fixes 0003838: missing tooltip in mesh preferences dialog 2019-02-16 15:07:52 +01:00
Yorik van Havre
f14633d182 Added untranslated 'master' .ts files where missing 2019-02-08 18:50:13 -02:00
Yorik van Havre
ac18ec0d79 Updated translations 2019-02-01 13:54:10 -02:00
luz.paz
d5ea453f9d Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
wmayer
d37d7455d0 fix double vs. float problem to solve problems in Mesh.nearestFacetOnRay 2019-01-08 19:13:50 +01:00
Yorik van Havre
2ea84272fd Updated translations from crowdin 2018-12-23 13:54:30 -02:00
wmayer
4c67a5c3c6 workaround to correctly render annotation flags if NaviCube is shown 2018-12-20 17:52:35 +01:00
wmayer
f474900c07 change default value of renderTriangleLimit to UINT_MAX 2018-12-20 10:49:37 +01:00
wmayer
9683abfc36 improve mesh healing functions 2018-12-13 17:31:21 +01:00
wmayer
d91e38962c mesh segmentation algorithm for surfaces 2018-12-10 13:19:27 +01:00
wmayer
0caa169eb0 mesh segmentation algorithm for surfaces 2018-12-10 00:23:31 +01:00
wmayer
a92014a36d rework mesh segmentation dialog 2018-12-07 13:13:08 +01:00
wmayer
a7094210f8 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
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
33663d134d make the methods highlightSelection/unhighlightSelection virtual 2018-10-26 00:40:20 +02:00
wmayer
8ab6ffa692 fix -Wreorder 2018-09-19 17:17:43 +02:00
wmayer
17d36cecc9 improve manual mesh filling 2018-09-18 21:53:04 +02:00
wmayer
ff6ed27ba9 replace boolean to check for inside/outside cutting with enum values 2018-09-18 18:25:51 +02:00
wmayer
4c8e70b9a3 polish Mesh workbench 2018-09-18 14:53:37 +02:00
wmayer
312310de60 take care of global placement when exporting from Mesh menu 2018-09-05 17:46:31 +02:00
wmayer
299f68cda6 add comment about using readLockNormalCache 2018-09-03 13:16:16 +02:00
Zheng, Lei
4231194a37 GLBuffer: fix isVBOSupported() 2018-09-03 12:59:27 +02:00
Zheng, Lei
b5467b02ad MeshGui::SoFCIndexedFaceSet: fix missing normal cache unlock 2018-09-03 12:59:13 +02:00
wmayer
afd5249563 add static function isVBOSupported to OpenGLBuffer to check for the GL_ARB_vertex_buffer_object extension 2018-08-21 10:29:55 +02:00
wmayer
a0faa374cc CMP0050: make Mesh module aware of cmake policy 2018-08-20 15:22:00 +02:00
wmayer
bff245daef add Mesh_Data target to handle scripts files 2018-08-19 22:56:12 +02:00
wmayer
a5515527e9 move OpenGLBuffer class to core system 2018-08-16 01:30:23 +02:00