]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_PluginManager.cxx
Salome HOME
Added object, attribute and data model organization in the document.
[modules/shaper.git] / src / Model / Model_PluginManager.cxx
index 2ef8883f44202d166c16838bc0a210380cafaf58..f2b7a55947445e063f08d3bc6938144f9afbf627 100644 (file)
@@ -5,7 +5,7 @@
 #include <Model_PluginManager.h>
 #include <ModelAPI_Feature.h>
 #include <ModelAPI_Plugin.h>
-#include <Model_Feature.h>
+#include <Model_Object.h>
 #include <Model_Document.h>
 #include <Model_Application.h>
 #include <Event_Loop.h>
@@ -30,6 +30,7 @@ std::shared_ptr<ModelAPI_Feature> Model_PluginManager::createFeature(string theF
     if (myPluginObjs.find(myCurrentPluginName) != myPluginObjs.end()) {
       std::shared_ptr<ModelAPI_Feature> aCreated = 
         myPluginObjs[myCurrentPluginName]->createFeature(theFeatureID);
+      return aCreated;
     }
   }