Salome HOME
Fix for the problem:
[modules/shaper.git] / src / Model / Model_Session.cpp
index 072382a6fa0a9fcf98f9e8da1d7ce50515c05cb9..10bd28f205db172f7fe67331aa8bf482d3e7ef34 100644 (file)
@@ -332,9 +332,9 @@ std::list<std::shared_ptr<ModelAPI_Document> > Model_Session::allOpenedDocuments
   return aResult;
 }
 
-bool Model_Session::isLoadByDemand(const std::string theDocID)
+bool Model_Session::isLoadByDemand(const std::string theDocID, const int theDocIndex)
 {
-  return Model_Application::getApplication()->isLoadByDemand(theDocID);
+  return Model_Application::getApplication()->isLoadByDemand(theDocID, theDocIndex);
 }
 
 std::shared_ptr<ModelAPI_Document> Model_Session::copy(