Commit Graph

9457 Commits

Author SHA1 Message Date
Robert Osfield
f22a39fbf0 Removed pfb plugin as the Perform dependency it relies upon has long since disappeared 2016-06-17 12:52:04 +01:00
Robert Osfield
7d34e8f441 Build fixes to reflect removal of deprecated_osg::Geometry 2016-06-17 12:49:44 +01:00
Robert Osfield
8e26ebd23e Fixed coverity detected defect:
Incorrect values read from a different memory region will cause incorrect computations. In osgDB::​base64_decode_value(char): Out-of-bounds read from a buffer
2016-06-17 10:57:17 +01:00
Robert Osfield
5c89ae5a15 Fixed coverity defects, two missing checks for error condition and resource leak. 2016-06-17 10:51:53 +01:00
Robert Osfield
9f656212d5 Fixed memory leak 2016-06-17 10:42:02 +01:00
Julien Valentin
e236acfed5 Added OpenGL extensions related to shader subroutine 2016-06-17 10:35:25 +01:00
Robert Osfield
aea83494c1 Removed deprecated_osg::Geometry and cleaned up the deprecated Geometry::set*Binding() calls 2016-06-17 10:12:11 +01:00
Robert Osfield
951c41cf9e Fixed indentation, replaced dynamic_cast<> with static_cast<> as we know the type and add check against null pointers 2016-06-17 09:48:21 +01:00
Robert Osfield
09df93813d Added missing check against null 2016-06-17 09:40:35 +01:00
Robert Osfield
83330fe9fb Added missing checks against viewer being valid and added missing break. 2016-06-17 09:33:56 +01:00
Robert Osfield
234d6cf431 Added if (texture) to fix bug when the dynamic_cast<> returns NULL. 2016-06-17 09:24:13 +01:00
Robert Osfield
0696e49f2d Changed dyanmic_cast<> to static_cast<> as code is written in a way that the type is always known. 2016-06-17 08:53:38 +01:00
Robert Osfield
79c6ac38df Fixed logically dead code detected by Coverity 2016-06-17 07:52:41 +01:00
Robert Osfield
c85c006557 Removed logically dead code detected by Coverity 2016-06-17 07:46:39 +01:00
Julien Valentin
78b99c7143 Refactored osg::TextureBuffer to support assigning any type of osg::BufferData rather than just osg::Image as was previously required.
Refactored osgforest and osggpucull examples to take account of changes to TextureBuffer.

Added osg::DrawIndirectBufferBinding.
2016-06-15 19:05:35 +01:00
Robert Osfield
819ce6c0d1 Removed redundent _boundingBoxComputed 2016-06-14 18:27:27 +01:00
Robert Osfield
9139e8acb8 Added {} brackets around OSG_DEBUG usage to avoid issues with marco's expanding if else. 2016-06-14 16:42:06 +01:00
Robert Osfield
4115cfc8f9 Removed use of deprecated register keyword 2016-06-14 16:37:31 +01:00
Ralf Habacker
dfb8b71526 Fix 'Non-static class member "yy_lp" is not initialized in this constructor nor in any functions that it calls".
Coverity CID 126893:  Uninitialized members  (UNINIT_CTOR)
2016-06-14 12:43:44 +01:00
Ralf Habacker
85cd1c456f Identify files in object cache by filename and optional provided options.
Objects with the same filename may be different from others based on the provided
plugin options. Using filename *and* the provided options as object cache key
helps to avoid fetching the wrong object.
2016-06-14 12:27:33 +01:00
Julien Valentin
2ac8379cfc osgDB Wrapper Associates Revision Tagging 2016-06-14 11:43:45 +01:00
OpenSceneGraph git repository
a236f18b17 Merge pull request #83 from filnet/warnings
Fixed various compilation warnings on msys2
2016-06-14 08:52:54 +01:00
Philippe Renon
3bf6fb1778 msys2: fixed redefined include warnings 2016-06-11 17:45:36 +02:00
Philippe Renon
bc1185c41a msys2: fixed converting to non-pointer type 'long long int' from NULL 2016-06-11 17:45:35 +02:00
Philippe Renon
9f456a2722 msys2: fixed uninitialized variable 2016-06-11 17:45:19 +02:00
Robert Osfield
157ee3dd7d Fixed unitialized member variable 2016-06-10 19:40:15 +01:00
Robert Osfield
732e770f87 Fixed unitialized member variable 2016-06-10 19:35:44 +01:00
Robert Osfield
34e65f15d0 FIxed unitialized member variables 2016-06-10 19:33:47 +01:00
Robert Osfield
12d4580ee5 Fixed memory leak 2016-06-10 19:27:46 +01:00
Robert Osfield
8fe37bdf63 Fixed memory leak 2016-06-10 19:25:07 +01:00
Robert Osfield
07afdcd46c Fixed memory leak 2016-06-10 17:24:03 +01:00
Robert Osfield
e2fcc32d7c Fixed memory leak 2016-06-10 17:19:41 +01:00
Robert Osfield
afb6f3b62a Fixed memory leak 2016-06-10 17:09:34 +01:00
Robert Osfield
d221066d9a Fixed memory leak 2016-06-10 17:06:04 +01:00
Robert Osfield
d833a5be92 Fixed memory leak 2016-06-10 17:01:42 +01:00
Robert Osfield
df90ed5ed0 Added use of ref_ptr<> to fix memory leak 2016-06-10 16:59:19 +01:00
Robert Osfield
dc7cefb6f2 Fixed memory leak 2016-06-10 16:54:46 +01:00
Robert Osfield
917d065292 Added use of ref_ptr<> to fix memory leak 2016-06-10 16:44:50 +01:00
Robert Osfield
813c103232 Restructed to fix memory leak 2016-06-10 16:41:13 +01:00
Robert Osfield
5a6d4f69e1 Added use of ref_ptr<> to fix memory leak 2016-06-10 16:36:13 +01:00
Robert Osfield
4b3c7e47a5 Added ref_ptr<> usage to address memory leaks 2016-06-10 16:34:36 +01:00
Robert Osfield
79dd8111a5 Added missing intializers to address Coverity issue 2016-06-10 16:30:21 +01:00
Robert Osfield
615114c900 Added assert() to make it clear to Coverity that both prev and next won't be null 2016-06-10 16:16:29 +01:00
Robert Osfield
40725ad707 Fixed memory leak detected by Coverity 2016-06-10 15:53:58 +01:00
Robert Osfield
6d18b3d74e Fixed memory leak detected by Coverity 2016-06-10 15:49:24 +01:00
Robert Osfield
05a505fb1f Fixed "User after free" bugs reported by Coverity. 2016-06-10 15:24:19 +01:00
Robert Osfield
73f321c472 Fixed potential memory leak by introducing ref counting. 2016-06-10 14:58:42 +01:00
Robert Osfield
38d91ca3fe Introduced use of local std::string to work around issue of the read header.text not being null terminated and causing a problem with the strstr call. 2016-06-10 14:36:50 +01:00
Robert Osfield
6a65b935fa Fixed uninitialized member variable. 2016-06-10 14:16:49 +01:00
Robert Osfield
9206d2a962 Restructed variable ordering and added missing va_end(). 2016-06-10 14:09:43 +01:00