Commit Graph

31 Commits

Author SHA1 Message Date
luz paz
c174e063f3 Mesh: remove trailing whitespace 2022-11-14 21:37:03 -06:00
wmayer
df8e0a55cc Mesh: Fix several clazy issues:
* Use multi-arg instead [-Wclazy-qstring-arg]
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Using copy-ctor but class SbMatrix has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
2022-07-25 01:14:40 +02:00
Uwe
c78775163e [Meh] Gui: remove unnecessary Boolean comparisons 2022-06-19 18:00:46 +02:00
Chris Hennes
3ecd16e0bd Mesh: PR6497 move return statement to new line 2022-03-29 12:36:30 -05:00
Uwe
99191c6679 [Gui] So headers: remove unused includes
- also sort out some headers to be used in precompiled headers
- also move a boost header to precompiled headers
2022-03-16 02:01:32 +01:00
wmayer
59e605e6b8 Mesh: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 18:05:02 +01:00
wmayer
709c349fa7 [skip ci] avoid to redefine GL_GLEXT_PROTOTYPES if already defined 2020-06-12 14:07:45 +02:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
Zheng, Lei
98f0a11ec0 Mesh: support multiple context in OpenGLMultiBuffer 2019-11-21 14:24:55 +01:00
Zheng, Lei
0d76efdb16 Mesh: fix material leaking when using VBO 2019-11-21 12:06:23 +01:00
wmayer
2f59bb50eb avoid several implicit conversions, replace several old C-casts, other minor changes 2019-09-18 23:27:54 +02:00
wmayer
6b37fdc1a8 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
wmayer
ca488a2793 change default value of renderTriangleLimit to UINT_MAX 2018-12-20 10:49:37 +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
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
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
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
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
424c78d451 implement fast mesh rendering for Qt5 port (7x faster) 2018-07-28 11:08:03 +02:00
wmayer
60b8b0da67 fix broken transparency mode of mesh objects 2017-12-19 23:24:30 +01:00
wmayer
06ef12d34d fix build failure on macoS when including glext.h 2017-11-08 22:58:09 +01:00
wmayer
0a6a9c90bd changes in Mesh module:
+ cppcheck: fix some minor issues found by code analyzer
+ export to IDTF
+ fix for throwing exception
+ optimize mesh rendering
2017-11-08 17:56:13 +01:00
wmayer
cf4f6765c1 replace deprecated gluPickMatrix 2017-03-06 11:18:19 +01:00
wmayer
f6e1cb6025 fix -Wextra in Mesh 2016-09-23 17:24:00 +02:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00