Commit Graph

420 Commits

Author SHA1 Message Date
wmayer
e22ab44e61 Replace Base::Exception with appropriate subclass 2018-11-14 17:11:53 +01:00
wmayer
31963f16c1 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
05550fcdf0 fixes 0003680: Export (Ctrl+E) doesn't check to make sure that object being exported is a model at all 2018-11-10 19:02:50 +01:00
wmayer
bff6312263 add security checks when reading BMS files to avoid possible crashes due to corrupted data 2018-11-07 13:51:39 +01:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
c9f01fe75f make the methods highlightSelection/unhighlightSelection virtual 2018-10-26 00:40:20 +02:00
wmayer
4768028827 + fix cutting or selecting mesh in perspective projection mode 2018-10-11 10:48:27 +02:00
wmayer
907b6f2a8f improve mesh decimation 2018-10-05 15:07:27 +02:00
wmayer
3e7079d9cd fix -Wreorder 2018-09-19 17:17:43 +02:00
wmayer
7c76767bc5 improve manual mesh filling 2018-09-18 21:53:04 +02:00
wmayer
f626549928 add verifier class to check the result of the polygon triangulation 2018-09-18 21:38:04 +02:00
wmayer
644cfa06bb replace boolean to check for inside/outside cutting with enum values 2018-09-18 18:25:51 +02:00
wmayer
2290a37a83 polish Mesh workbench 2018-09-18 14:53:37 +02:00
wmayer
363de2f7da take care of global placement when exporting from Mesh menu 2018-09-05 17:46:31 +02:00
wmayer
7cd4d37306 add comment about using readLockNormalCache 2018-09-03 13:16:16 +02:00
Zheng, Lei
3f0c474a71 GLBuffer: fix isVBOSupported() 2018-09-03 12:59:27 +02:00
Zheng, Lei
864ca1e470 MeshGui::SoFCIndexedFaceSet: fix missing normal cache unlock 2018-09-03 12:59:13 +02:00
wmayer
1d11f742ca now each module registers its unit tests itself 2018-08-28 13:14:16 +02:00
wmayer
7a5a17c744 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
ed974394fa CMP0050: make Mesh module aware of cmake policy 2018-08-20 15:22:00 +02:00
wmayer
52a5c4aafd add Mesh_Data target to handle scripts files 2018-08-19 22:56:12 +02:00
wmayer
266f82bca4 move OpenGLBuffer class to core system 2018-08-16 01:30:23 +02:00
wmayer
59b8f21585 simplifiy code in SoFCIndexedFaceSet::GLRender, fix bug in wireframe mode when panning/rotating 2018-08-15 22:24:24 +02:00
wmayer
41f8718ef4 Fix globalPosition in Stl export 2018-08-11 15:36:08 +02:00
wmayer
17a453b6f4 compute the actual placement to apply instead of transforming the points twice 2018-08-11 14:36:50 +02:00
wandererfan
310337574e Fix double application of Placement
- global placement already contains feature
  placement, so multiplying aPoints by
  global placement applies feature placement
  twice.
2018-08-11 13:49:29 +02:00
luz.paz
a10e5aced8 whitespace fixes 2018-08-07 11:13:31 -04:00
luz.paz
e086967dac Source typo change 2018-08-07 11:13:31 -04:00
luz.paz
424cd49398 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
wmayer
d1a051721d fix build failure on Linux 2018-08-06 10:16:18 +02:00
wmayer
a0be7c3eff fix macOS build failure of MeshGui 2018-08-05 22:08:46 +02:00
wmayer
6080cef0cc replace Qt's OpenGL buffer with own implementation based on Coin3d API 2018-08-03 13:07:55 +02:00
wmayer
5e75f3bc97 remove undesired dependency of Mesh to Part module 2018-07-28 11:58:39 +02:00
wmayer
424c78d451 implement fast mesh rendering for Qt5 port (7x faster) 2018-07-28 11:08:03 +02:00
wandererfan
e1e5ca413b Fix #3329 globalPosition in Stl export 2018-07-27 10:37:06 -03:00
wmayer
170708a4f1 Mesh improvements:
+ support of Simple Model Format (smf)
+ improve reading of STL files (reduce by ~70%)
2018-07-26 13:19:35 +02:00
wmayer
0260370b65 + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
wmayer
989274a331 + Improve mesh selection (precompute projection matrix and use polygon bounding box) 2018-07-25 18:00:42 +02:00
wmayer
7dc1dd21fb + implement a faster method to multiply vector with matrix
+ add convenience method to transform a point array
2018-07-25 17:31:11 +02:00
JimStar
6a5ad383ab Extended global marker size to be used for other modes 2018-07-11 21:22:28 -03:00
luz.paz
43244aa762 More misc. typos 2018-05-19 12:17:52 -04:00
luz.paz
ec072982f7 Added missing comma 2018-05-11 10:02:56 -03:00
luz.paz
b36b21247c follow-up source typos 2018-05-11 10:02:56 -03:00
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
wmayer
27743d4a5d Improvements on mesh flattening commands:
comment out import of pivy because it's not used and pivy.graphics isn't available on all platforms
Add MeshPart_ prefix to command names for consistency reasons and to make Qt help working correctly
When adding commands to Mesh workbench make sure the commands could be created beforehand to avoid annoying warnings
2018-04-23 11:09:26 +02:00
looooo
e2eb12d6c6 MeshFlattening: add function to unwrap face 2018-04-23 09:56:23 +02:00
looooo
22fbe35ceb MeshFlattening: add function to unwrap mesh 2018-04-23 09:56:23 +02:00
looooo
eb783b9054 MeshFlattener: boundary extractor 2018-04-23 09:56:23 +02:00
wmayer
0c394ff352 extend API of smooth command to allow to run different algorithms 2018-04-14 18:44:03 +02:00
Yorik van Havre
46fd41d70a Merged translations from crowdin 2018-03-26 18:52:02 -03:00