]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Objects.h
Salome HOME
Implementation of Partition movement using new result creation, with different data...
[modules/shaper.git] / src / Model / Model_Objects.h
index bf6904715014fe90783cbfb906b55e2b6dddfeb9..45c837d624110ef58fe09faabb03b89175143ddd 100644 (file)
@@ -106,10 +106,10 @@ class Model_Objects
   /// Creates a part results
   std::shared_ptr<ModelAPI_ResultPart> createPart(
       const std::shared_ptr<ModelAPI_Data>& theFeatureData, const int theIndex = 0);
-  /// Copies a part results, keeping the same data
+  /// Copies a part results, keeping the reference to origin
   std::shared_ptr<ModelAPI_ResultPart> copyPart(
-      const std::shared_ptr<ModelAPI_Result>& theOldPart, 
-      const std::shared_ptr<ModelAPI_ResultPart>& theOrigin, const int theIndex = 0);
+      const std::shared_ptr<ModelAPI_ResultPart>& theOrigin,
+      const std::shared_ptr<ModelAPI_Data>& theFeatureData, const int theIndex = 0);
   /// Creates a group results
   std::shared_ptr<ModelAPI_ResultGroup> createGroup(
       const std::shared_ptr<ModelAPI_Data>& theFeatureData, const int theIndex = 0);