}
}
}
- if ( HasTexture() )
- {
- AISShape->SetTextureFileName(TCollection_AsciiString(myTexture.c_str()));
- AISShape->SetTextureMapOn();
- AISShape->DisableTextureModulate();
- AISShape->SetDisplayMode(3);
-// AISShape->SetDisplayMode( (Standard_Integer) StdSelect_DM_HLR );
- }
+
else
{
if ( onlyVertex )
}
}
+ if ( HasTexture() )
+ {
+ AISShape->SetTextureFileName(TCollection_AsciiString(myTexture.c_str()));
+ AISShape->SetTextureMapOn();
+ AISShape->DisableTextureModulate();
+ AISShape->SetDisplayMode(3);
+ }
+
if ( HasWidth() )
AISShape->SetWidth( GetWidth() );
}
}
// AISShape->SetName(???); ??? necessary to set name ???
-// AISShape->SetDisplayMode(3);
occPrs->AddObject( AISShape );
// In accordance with ToActivate() value object will be activated/deactivated