Salome HOME
0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_HypothesesUtils.cxx
index 623f0dbd210664ccbf72c459569c3916017ea447..da8e162c426097bcaa50ec28ea40f619a0ebe647 100644 (file)
@@ -451,6 +451,12 @@ namespace SMESH
               // map hypothesis creator to a hypothesis name
               // BUG 0020378
               //myHypCreatorMap[aHypType] = aCreator;
+
+             //rnv : This dynamic property of the QObject stores the name of the plugin.
+             //      It is used to obtain plugin root dir environment variable
+              //      in the SMESHGUI_HypothesisDlg class. Plugin root dir environment 
+             //      variable is used to display documentation.
+             aCreator->setProperty(PLUGIN_NAME,aHypData->PluginName);
             }
           }
         }