Salome HOME
Bug PAL8221 - POST-PRO: Pal/Salome crashes if edit presentation in opened study
[modules/visu.git] / src / VISU_I / VISU_IsoSurfaces_i.cc
index 4a1527033848397ffeb1e0460e09902f7679acb1..79b2a877fd328bda3c1605e5d1aa3fcb1298cdba 100644 (file)
@@ -51,15 +51,27 @@ const string VISU::IsoSurfaces_i::myComment = "ISOSURFACES";
 const char* VISU::IsoSurfaces_i::GetComment() const { return myComment.c_str();}
 
 
-VISU::IsoSurfaces_i::IsoSurfaces_i(Result_i* theResult, bool theAddToStudy, SALOMEDS::SObject_ptr theSObject) :
-       PrsObject_i(theResult->GetStudyDocument()), 
-       Prs3d_i(theResult,theSObject),
-       ScalarMap_i(theResult,theAddToStudy,theSObject)
+VISU::IsoSurfaces_i::
+IsoSurfaces_i(Result_i* theResult, 
+             bool theAddToStudy) :
+  PrsObject_i(theResult->GetStudyDocument()), 
+  Prs3d_i(theResult,theAddToStudy),
+  ScalarMap_i(theResult,theAddToStudy),
+  myIsoSurfacesPL(NULL)
 {
-  myIsoSurfacesPL = NULL;
 }
 
 
+VISU::IsoSurfaces_i::
+IsoSurfaces_i(Result_i* theResult, 
+             SALOMEDS::SObject_ptr theSObject) :
+  PrsObject_i(theResult->GetStudyDocument()), 
+  Prs3d_i(theResult,theSObject),
+  ScalarMap_i(theResult,theSObject),
+  myIsoSurfacesPL(NULL)
+{
+}
+
 
 void VISU::IsoSurfaces_i::SameAs(const IsoSurfaces_i* theOrigin) {
   VISU::ScalarMap_i::SameAs(theOrigin);