]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Update.cpp
Salome HOME
Issue #83: renamed PluginManager to Session
[modules/shaper.git] / src / Model / Model_Update.cpp
index 875d22dd1ad567ddfa7f43f6ed3a91f9e7bbeae6..380d12b3f0f52dfa072ec4ce7ff4bb269336fa62 100644 (file)
@@ -117,7 +117,7 @@ bool Model_Update::updateFeature(FeaturePtr theFeature)
 
       if (boost::dynamic_pointer_cast<Model_Document>(theFeature->document())->executeFeatures() ||
           !theFeature->isPersistentResult()) {
-        ModelAPI_ValidatorsFactory* aFactory = ModelAPI_PluginManager::get()->validators();
+        ModelAPI_ValidatorsFactory* aFactory = ModelAPI_Session::get()->validators();
         if (aFactory->validate(theFeature)) {
           try {
             theFeature->execute();