- Timestamp:
- 01/23/09 16:52:10 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/dae/daeRMaterials.cpp
r9529 r9541 1165 1165 if (ctt && ctt->getTexture() != NULL) 1166 1166 { 1167 if ( strcmp( ctt->getTexture()->getTexture(), diffuseTextureName))1167 if (!diffuseTextureName || (strcmp( ctt->getTexture()->getTexture(), diffuseTextureName))) 1168 1168 { 1169 1169 osg::notify( osg::WARN ) << "Currently no support for different textures in diffuse and transparent channels." << std::endl; … … 1172 1172 } 1173 1173 1174 // Fix up defaults ac oording to 1.4.1 release notes1174 // Fix up defaults according to 1.4.1 release notes 1175 1175 domFloat4 f4; 1176 1176 domFx_opaque_enum Opaque = FX_OPAQUE_ENUM_A_ONE;
