Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2bbde8
)
enable loading resources of MESH plugings by prepending plugin name to pixMap name
author
eap
<eap@opencascade.com>
Thu, 17 Apr 2008 07:45:32 +0000
(07:45 +0000)
committer
eap
<eap@opencascade.com>
Thu, 17 Apr 2008 07:45:32 +0000
(07:45 +0000)
src/SMESH_I/SMESH_Gen_i_1.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i_1.cxx
b/src/SMESH_I/SMESH_Gen_i_1.cxx
index 515de42180c5845bc4bfcaab57d4719c2682749e..3d87ad4f6d96938e36e7546dc87b8e9993774811 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i_1.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i_1.cxx
@@
-714,6
+714,10
@@
SALOMEDS::SObject_ptr
// Add New Hypothesis
string aPmName = isAlgo ? "ICON_SMESH_TREE_ALGO_" : "ICON_SMESH_TREE_HYPO_";
aPmName += theHyp->GetName();
+ // prepend plugin name to pixmap name
+ string pluginName = myHypCreatorMap[string(theHyp->GetName())]->GetModuleName();
+ if ( pluginName != "StdMeshers" )
+ aPmName = pluginName + "::" + aPmName;
aHypSO = publish( theStudy, theHyp, aRootSO, 0, aPmName.c_str() );
}