]> git.mxchange.org Git - simgear.git/commit
Rewrite livery texture replacement to copy StateSet objects
authortimoore <timoore>
Wed, 23 Apr 2008 18:13:50 +0000 (18:13 +0000)
committertimoore <timoore>
Wed, 23 Apr 2008 18:13:50 +0000 (18:13 +0000)
commit8f46f2cac8adaaef514e520cc688533b83a78ffe
tree350d0f39cccdd07289b008801927fef27e3b1bab
parent8f48515b80a95a026d427286e342e67cf56e8def
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.
projects/VC7.1/SimGear.vcproj
simgear/scene/model/ModelRegistry.cxx
simgear/scene/util/Makefile.am
simgear/scene/util/NodeAndDrawableVisitor.cxx [new file with mode: 0644]
simgear/scene/util/NodeAndDrawableVisitor.hxx [new file with mode: 0644]
simgear/screen/TestRenderTexture.cpp