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

index 1edab8fc203649615ce1c2cf594c755687d5e2d1..ec2a1085bc5914be2d403c8e6074255c57b09002 100644 (file)
@@ -1760,7 +1760,7 @@ SALOMEDS::SObject_ptr VISU_TimeAnimation::publishInStudy()
   }
   aStudyBuilder->CommitCommand();
 
-  return VISU::GetSObject(aAnimSObject);
+  return VISU::GetSObject(aAnimSObject)._retn();
 }
 
 //------------------------------------------------------------------------