Salome HOME
latests developments debug and porting Python3
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_VTKPrsShape.cxx
index ce016a554b6431e2f86fe9023f88072a3810dc6d..66dd4dbfac15dbda111637ee09334ee82844a7fd 100644 (file)
@@ -108,7 +108,7 @@ void HYDROGUI_VTKPrsShape::buildShape()
   // Try to retrieve information from object
   if ( !anObject.IsNull() )
   {
-    Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( anObject->Label() );
+    Handle(HYDROData_Document) aDocument = HYDROData_Document::Document();
   
     if ( anObject->IsKind( STANDARD_TYPE(HYDROData_ImmersibleZone) ) )
     {