]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
0020468: [CEA] pb with animation
authorouv <ouv@opencascade.com>
Mon, 12 Oct 2009 09:33:02 +0000 (09:33 +0000)
committerouv <ouv@opencascade.com>
Mon, 12 Oct 2009 09:33:02 +0000 (09:33 +0000)
src/VISU_I/VISU_TimeAnimation.cxx

index 20fb195cae091caf7dc17475c9f1c4f2aea06d74..2e0296f997f9a97dc68cef968446be47fbc82370 100644 (file)
@@ -1788,7 +1788,7 @@ SALOMEDS::SObject_ptr VISU_TimeAnimation::publishInStudy()
   }
   aStudyBuilder->CommitCommand();
 
-  return VISU::GetSObject(aAnimSObject);
+  return VISU::GetSObject(aAnimSObject)._retn();
 }
 
 //------------------------------------------------------------------------