Rewrite livery texture replacement to copy StateSet objects

Also, add a NodeAndDrawableVisitor that descends into osg::Drawable.

That motivation for this is that it's a bad idea to modify state sets
that the osgDB::SharedStateManager might be keeping.
This commit is contained in:
timoore
2008-04-23 18:13:50 +00:00
parent 8f48515b80
commit 8f46f2cac8
6 changed files with 220 additions and 60 deletions
+1
View File
@@ -16,6 +16,7 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
void Reshape(int w, int h);