From 9d80749256d9be6dcf491b7f816bd0247889d41a Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 24 Jun 2015 13:08:19 +0300 Subject: [PATCH] Partial fix for the '23113: EDF 7612 PARAVIS: The use of the animation view after applying the macro mode makes Salome terminating in SIGSEGV' issue. --- src/Macro/modes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Macro/modes.py b/src/Macro/modes.py index 4c1b13b5..71bce70a 100644 --- a/src/Macro/modes.py +++ b/src/Macro/modes.py @@ -81,7 +81,9 @@ else : TimeAnimationCue1 = GetTimeTrack() TimeAnimationCue1.Enabled = 0 - KeyFrameAnimationCue1 = GetAnimationTrack( ScaleVector1.GetProperty('ScaleFactor')) + KeyFrameAnimationCue1 = KeyFrameAnimationCue() + KeyFrameAnimationCue1.AnimatedProxy = ScaleVector1 + KeyFrameAnimationCue1.AnimatedPropertyName = "ScaleFactor" KeyFrame0 = CompositeKeyFrame( KeyValues=[1.0], Interpolation='Sinusoid' ) KeyFrame1 = CompositeKeyFrame( KeyTime=1.000000001, KeyValues=[1.0] ) @@ -90,6 +92,8 @@ else : AnimationScene1.Cues.append(KeyFrameAnimationCue1) AnimationScene1.Loop = 1 AnimationScene1.PlayMode = 'Sequence' + AnimationScene1.StartTime = 0 + AnimationScene1.EndTime = 1 AnimationScene1.NumberOfFrames = 21 WarpByVectorDataRepresentation = Show(WarpByVector1) -- 2.39.2