Changeset 11196
 Timestamp:
 03/10/10 17:31:30 (5 years ago)
 Files:

 1 modified
Legend:
 Unmodified
 Added
 Removed

OpenSceneGraph/trunk/src/osgPlugins/dae/daeRGeometry.cpp
r11152 r11196 459 459 { 460 460 osg::Geometry *geometry = new osg::Geometry(); 461 geometry>setName(group>getMaterial()); 461 if (NULL != group>getMaterial()) 462 geometry>setName(group>getMaterial()); 462 463 geode>addDrawable( geometry ); 463 464 … … 478 479 { 479 480 osg::Geometry *geometry = new osg::Geometry(); 480 geometry>setName(group>getMaterial()); 481 if (NULL != group>getMaterial()) 482 geometry>setName(group>getMaterial()); 481 483 geode>addDrawable( geometry ); 482 484 … … 503 505 504 506 osg::Geometry* geometry = new osg::Geometry(); 505 geometry>setName(group>getMaterial()); 507 if (NULL != group>getMaterial()) 508 geometry>setName(group>getMaterial()); 506 509 geode>addDrawable(geometry); 507 510