You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed changes to the easing function of a keyframe (e.g from linear to exponential) after creation in the napari plugin has no effect when saving as a movie (i.e. the easing function at capture times is still in effect).
Steps to reproduce:
Add two keyframes a different position with easing "linear"
change both easing function to "exponential"
save movie (which then still uses linear)
Possible reasons
self.animation._frames._rebuild_keyframe_index() is not called when the ease combo box is changed
solves the issue. But this might not be the best place...
def _update_animation_ease(self, event):
"""update state of 'ease' at current key-frame to reflect GUI state"""
active_keyframe = self.animation.key_frames.selection.active
active_keyframe.ease = self.get_easing_func()
self.animation._frames._rebuild_keyframe_index()
The text was updated successfully, but these errors were encountered:
Description
I noticed changes to the easing function of a keyframe (e.g from linear to exponential) after creation in the napari plugin has no effect when saving as a movie (i.e. the easing function at capture times is still in effect).
Steps to reproduce:
Possible reasons
self.animation._frames._rebuild_keyframe_index()
is not called when the ease combo box is changedPossible fix
Adding it to the update function in
napari-animation/napari_animation/_qt/frame_widget.py
Line 63 in ba8ab53
solves the issue. But this might not be the best place...
The text was updated successfully, but these errors were encountered: