Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
registerNotObligatory is not necessary if this property is set in XML.
[modules/shaper.git]
/
src
/
SketcherPrs
/
SketcherPrs_SymbolPrs.cpp
diff --git
a/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp
b/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp
index d2daecc45a4bd60128007cd9d2b2f6d033f2154b..2d42f57a568f39160cb31d29760ed9d5137c4458 100644
(file)
--- a/
src/SketcherPrs/SketcherPrs_SymbolPrs.cpp
+++ b/
src/SketcherPrs/SketcherPrs_SymbolPrs.cpp
@@
-271,11
+271,9
@@
Handle(Image_AlienPixMap) SketcherPrs_SymbolPrs::icon()
return myIconsMap[iconName()];
}
// Load icon for the presentation
return myIconsMap[iconName()];
}
// Load icon for the presentation
- char* aEnv = getenv("SHAPER
_ROOT_DIR
");
+ char* aEnv = getenv("SHAPER
Resources
");
if (aEnv != NULL) {
TCollection_AsciiString aFile(aEnv);
if (aEnv != NULL) {
TCollection_AsciiString aFile(aEnv);
- aFile+=FSEP;
- aFile+="resources";
aFile += FSEP;
aFile += iconName();
Handle(Image_AlienPixMap) aPixMap = new Image_AlienPixMap();
aFile += FSEP;
aFile += iconName();
Handle(Image_AlienPixMap) aPixMap = new Image_AlienPixMap();