Added null pointer check
This commit is contained in:
parent
3376bfbfc8
commit
bc6a8948cc
@ -851,7 +851,7 @@ osgDB::ReaderWriter::ReadResult ReaderWriter3DS::constructFrom3dsFile(Lib3dsFile
|
||||
}
|
||||
if (group && group->getName().empty()) group->setName(fileName);
|
||||
|
||||
if (osg::getNotifyLevel()>=osg::INFO)
|
||||
if (group && osg::getNotifyLevel()>=osg::INFO)
|
||||
{
|
||||
OSG_INFO << "Final OSG node structure looks like this:"<< endl;
|
||||
PrintVisitor pv(osg::notify(osg::INFO));
|
||||
|
Loading…
Reference in New Issue
Block a user