Salome HOME
Issue #83: renamed PluginManager to Session
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Validators.cpp
index 2d135af004a96510b752f87fe7a533187ea759e4..14f5aaa9bf69b4d5295157ef9ccd868ef4571d9b 100644 (file)
@@ -15,7 +15,7 @@ bool SketchPlugin_DistanceAttrValidator::isValid(const FeaturePtr& theFeature,
                                                  const ObjectPtr& theObject) const
 {
   std::string aParamA = theArguments.front();
-  PluginManagerPtr aMgr = ModelAPI_PluginManager::get();
+  SessionPtr aMgr = ModelAPI_Session::get();
   ModelAPI_ValidatorsFactory* aFactory = aMgr->validators();
 
   // If the object is not a line then it is accepted