return myIconsMap[iconName()];
}
// Load icon for the presentation
- char* aEnv = getenv("NEWGEOM_ROOT_DIR");
+ char* aEnv = getenv("SHAPERResources");
if (aEnv != NULL) {
TCollection_AsciiString aFile(aEnv);
- aFile+=FSEP;
- aFile+="resources";
aFile += FSEP;
aFile += iconName();
Handle(Image_AlienPixMap) aPixMap = new Image_AlienPixMap();