From Jannik Heller, typo fixes

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14826 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-04-07 18:01:12 +00:00
parent ab2fc1be76
commit 70b5297575
62 changed files with 104 additions and 105 deletions

View File

@@ -599,13 +599,13 @@ int main( int argc, char **argv )
// set up optimizer options
unsigned int optimizer_options = osgUtil::Optimizer::DEFAULT_OPTIMIZATIONS;
bool relase_and_compile = false;
bool release_and_compile = false;
while (arguments.read("--release-and-compile"))
{
relase_and_compile = true;
release_and_compile = true;
}
seh->setReleaseAndCompileOnEachNewSlide(relase_and_compile);
if (relase_and_compile)
seh->setReleaseAndCompileOnEachNewSlide(release_and_compile);
if (release_and_compile)
{
// make sure that imagery stays around after being applied to textures.
viewer.getDatabasePager()->setUnrefImageDataAfterApplyPolicy(true,false);