Commit Graph

14047 Commits

Author SHA1 Message Date
Robert Osfield
8f43268432 Added check to make sure undefined condition happens due to unitialized variables. 2016-06-20 12:27:47 +01:00
Robert Osfield
e09403a80c Added intializer for char[] to squash Coverity "defect". 2016-06-20 12:20:44 +01:00
Ralf Habacker
67e6f675e6 example_osgobjectcache: Add a check that we really get the correct nodes. 2016-06-20 11:39:25 +01:00
Ralf Habacker
7876c7915b clang 6.0 compile fixes. 2016-06-20 10:32:42 +01:00
Ralf Habacker
69929f596f Fix finding object cache entries. 2016-06-20 10:26:12 +01:00
Robert Osfield
5f38374b7a Build fixes for building with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.
Added spacing to make code more readable.
2016-06-20 10:23:05 +01:00
Ralf Habacker
fff9cd7d38 Add osgobjectcache example. 2016-06-20 10:20:17 +01:00
OpenSceneGraph git repository
e499333036 Merge pull request #86 from spthaolt/master
corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp
2016-06-20 06:42:34 +01:00
Thao Le
7a1324800f corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp 2016-06-19 21:07:37 +07:00
Robert Osfield
5dcea9eb21 Replaced old slow path deprecated_osg::Geometry code 2016-06-17 15:39:19 +01:00
Robert Osfield
a8e4df5611 Replaced deprecated_osg::Geometry usage 2016-06-17 14:13:35 +01:00
Robert Osfield
b65be226b0 Converted code across to using non deprecated version of osg::Geometry 2016-06-17 13:04:41 +01:00
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
62fd0ef368 Removed old examples that relied upon deprecated functionality 2016-06-17 11:53:34 +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
0836421a66 Merge branch 'coverity_scan' 2016-06-17 10:17:18 +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
f5465e82a1 Merge branch 'coverity_scan' 2016-06-17 09:15:37 +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
Jordi Torres
44609e903c Add coverity scan badge 2016-06-16 16:07:55 +02:00
Jordi Torres
dcc9b9f9be Modified coverity build command to avoid creating dirs 2016-06-16 12:55:27 +02: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
Jordi Torres
5a8d976356 Changes to travis.yml with the new token for coverity scan 2016-06-15 18:47:21 +02:00
Robert Osfield
7d66a57bc0 Fixed indentation 2016-06-15 15:38:52 +01:00
Robert Osfield
3cc6648938 Another attempt to resovle coverity_scan build issue 2016-06-15 11:42:01 +01:00
Robert Osfield
b61f29c7ef Another rev of .travis.yml to see if we can tease Coverity scan into action. 2016-06-15 10:49:55 +01:00
Robert Osfield
819ce6c0d1 Removed redundent _boundingBoxComputed 2016-06-14 18:27:27 +01:00
Robert Osfield
99bb4b8d17 How to debug tavis script when documentation is so spartan? 2016-06-14 17:18:22 +01:00
Robert Osfield
761dea8591 Another rev of .travis.yml to try and get things working 2016-06-14 17:13:39 +01:00
Robert Osfield
6471e760c8 As an experiment moved the coverity_scan code into the linux addons: block 2016-06-14 16:51:07 +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
8457990bb1 Removed deprecated register keyword usage 2016-06-14 16:40:15 +01:00
Robert Osfield
23513b5ab6 Fixed line endings 2016-06-14 16:39:29 +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
Robert Osfield
3816e4c76e Updated SO version number to reflect changes to API 2016-06-14 12:00:36 +01:00
Julien Valentin
2ac8379cfc osgDB Wrapper Associates Revision Tagging 2016-06-14 11:43:45 +01:00
Robert Osfield
dcac0c1611 Changed the build to run on 3 cores. 2016-06-14 09:44:50 +01:00
Robert Osfield
2db7694f57 Added first cut of Coverity Scan support 2016-06-14 09:30:00 +01:00