Commit Graph

14043 Commits

Author SHA1 Message Date
Robert Osfield
99a426d47d Added better handling of nulls 2016-06-30 07:50:14 +01:00
Robert Osfield
fa14b5263e Added initializer 2016-06-29 19:59:56 +01:00
Robert Osfield
a24cdb59de Fixed handling of null pointer 2016-06-29 18:01:29 +01:00
Robert Osfield
fb537e089b Cleaned up null pointer handling 2016-06-29 17:58:03 +01:00
Robert Osfield
274a197a82 Moved assignment to within safe block 2016-06-29 17:56:11 +01:00
Robert Osfield
d0bf7e8ce7 Added hanlding of null value 2016-06-29 17:51:32 +01:00
Robert Osfield
467054ba44 Added null pointer handling 2016-06-29 17:47:32 +01:00
Robert Osfield
625c559e8d Added null pointer handling 2016-06-29 17:43:37 +01:00
Robert Osfield
8589d59520 Added handling of null pointer 2016-06-29 17:35:20 +01:00
Robert Osfield
47842987c5 Added null pointer check 2016-06-29 17:33:45 +01:00
Robert Osfield
9fe0c23af4 Added better handling of null istream 2016-06-29 17:31:16 +01:00
Robert Osfield
3c1d3b981c Added null pointer handling 2016-06-29 17:29:28 +01:00
Robert Osfield
e3c48d9f45 Added handling of the possibility of null Options pointers 2016-06-29 17:06:48 +01:00
Robert Osfield
0876677fb2 Removed check against changed flag as check is aleady done outside the method so no need for a duplicate check 2016-06-29 16:07:39 +01:00
Julien Valentin
98b81821fb fix in StateSet.cpp
the State::DefineMap::changed flag is not resetted to false after currentDefines are updated
2016-06-29 16:05:14 +01:00
Robert Osfield
990c04d4b9 Moved the scene related requiresUpdateSceneGraph() implementation details from View into Scene.
Added check against the ImagePager.
2016-06-29 15:34:11 +01:00
OpenSceneGraph git repository
48c1d0e8da Merge pull request #81 from filnet/checkneedtodoframe
refactor common code from CompositeViewer::checkNeedToDoFrame() and Viewer::checkNeedToDoFrame() into View
2016-06-29 15:15:31 +01:00
Robert Osfield
00b1173e70 Added osg::ScissorIndexed that wraps up glScissorIndexed function 2016-06-29 15:11:02 +01:00
Robert Osfield
412e9fc3dd Added osg::DepthRangeIndexed class to wrap up glDepthRangeIndexed functionality. 2016-06-29 12:28:28 +01:00
Laurens Voerman
af28adc01d Added osgshadermultiviewport example to test and demonstrate the new osg::ViewportIndexed class 2016-06-29 11:39:44 +01:00
Robert Osfield
54dbf438cc Fixed cast 2016-06-29 11:36:44 +01:00
Robert Osfield
e932c8e5e8 Added build of new osg::ViewportIndexed 2016-06-29 11:35:56 +01:00
Robert Osfield
e30b570b1f Revert "Fixed incorrect cast" as commit contained more changes than intended.
This reverts commit 2897ab13cb.
2016-06-29 11:34:20 +01:00
Robert Osfield
8d7d5d12a1 Added osg::ViewportIndexed that adds support for glViewportIndexed 2016-06-29 11:26:54 +01:00
Robert Osfield
2897ab13cb Fixed incorrect cast 2016-06-29 11:25:08 +01:00
Laurens Voerman
ec74518868 Added glViewerArray, glSissorArray, glDepthRangeArray etc. GL extension support 2016-06-29 09:53:04 +01:00
Robert Osfield
1df3cb9144 Fixed warnings 2016-06-28 19:49:48 +01:00
Robert Osfield
4223028ec1 Disabled -Wextra compile option for GCC + CLang as FBX headers generate lots of warnings we can't fix 2016-06-28 19:46:14 +01:00
Robert Osfield
b2e5e5b388 Revert "corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp"
This reverts commit 7a1324800f.
2016-06-28 18:39:12 +01:00
Robert Osfield
f4eb37ee08 Added initializer 2016-06-28 16:49:08 +01:00
Robert Osfield
418aa45a1b Added initializers 2016-06-28 16:47:11 +01:00
Robert Osfield
049d64dd20 Added initializer 2016-06-28 16:44:24 +01:00
Robert Osfield
56f6376de8 Added initializer 2016-06-28 16:42:33 +01:00
Robert Osfield
c6cd232f77 Added initializer 2016-06-28 16:40:57 +01:00
Robert Osfield
70f47cedc7 Replaced unsafe strcpy 2016-06-28 16:37:58 +01:00
Robert Osfield
847eea5b5d Replaced usage c string usage 2016-06-28 16:34:30 +01:00
Robert Osfield
96d3bd203f Replaced unsafe string usage 2016-06-28 16:33:13 +01:00
Robert Osfield
21354e62d4 Replaced unsafe c string usage with std::stringstream 2016-06-28 16:30:06 +01:00
Robert Osfield
55d6113375 Removed debug message 2016-06-28 16:25:21 +01:00
Robert Osfield
dc3d4cac53 Replaced unsafe c string usage with std::string 2016-06-28 16:11:14 +01:00
Robert Osfield
b5f880ba1d Replaced unsafe c string usage with std::string 2016-06-28 16:03:01 +01:00
Robert Osfield
7f1ba5f7df Replaced unsafe strcpy 2016-06-28 15:56:39 +01:00
Robert Osfield
26da8fc9ce Replaced unsafe c string usage with std::string 2016-06-28 15:52:35 +01:00
Robert Osfield
4f276d9d8e Fixed leak when open returns 0 2016-06-28 15:33:06 +01:00
Robert Osfield
07a0b52e6c Fixed leak when open returns 0 2016-06-28 15:31:55 +01:00
Robert Osfield
9aa8497fbf Removed line space 2016-06-28 13:44:20 +01:00
Robert Osfield
44255995e3 Cleaned up pointer checks 2016-06-28 13:44:00 +01:00
Robert Osfield
4e48fead44 Repplaced fscanf usage with ifstream to avoid safety issues 2016-06-28 13:38:35 +01:00
Robert Osfield
f7bbb4821b Added handling of failure to reclaim file 2016-06-28 09:32:38 +01:00
Robert Osfield
6937a8fcd3 Removed unneccessary close 2016-06-28 09:21:30 +01:00