Salome HOME
Fixed the crash on moving Group down and edit it in the issue #1862
[modules/shaper.git] / src / PartSetAPI / PartSetAPI_Part.cpp
index 6adbac25954ab4204bcd74ff0a3b33a50103f0fa..63b3def93b085a5e39e54cdd75969212cb934e46 100644 (file)
@@ -42,7 +42,6 @@ void PartSetAPI_Part::dump(ModelHighAPI_Dumper& theDumper) const
 //--------------------------------------------------------------------------------------
 PartPtr addPart(const std::shared_ptr<ModelAPI_Document> & thePart)
 {
-  // TODO(spo): check that thePart is not empty
   std::shared_ptr<ModelAPI_Feature> aFeature = thePart->addFeature(PartSetAPI_Part::ID());
   aFeature->execute();
   return PartPtr(new PartSetAPI_Part(aFeature));
@@ -50,7 +49,6 @@ PartPtr addPart(const std::shared_ptr<ModelAPI_Document> & thePart)
 
 PartPtr duplicatePart(const std::shared_ptr<ModelAPI_Document> & thePart)
 {
-  // TODO(spo): check that thePart is not empty
   std::shared_ptr<ModelAPI_Feature> aFeature = thePart->addFeature(PartSetPlugin_Duplicate::ID());
   aFeature->execute();
   return PartPtr(new PartSetAPI_Part(aFeature));
@@ -58,7 +56,6 @@ PartPtr duplicatePart(const std::shared_ptr<ModelAPI_Document> & thePart)
 
 void removePart(const std::shared_ptr<ModelAPI_Document> & thePart)
 {
-  // TODO(spo): check that thePart is not empty
   std::shared_ptr<ModelAPI_Feature> aFeature = thePart->addFeature(PartSetPlugin_Remove::ID());
   aFeature->execute();
 }