After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676031 - keyframe-transition: Create a new interval if necessary
keyframe-transition: Create a new interval if necessary
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-05-14 14:53 UTC by Bastian Winkler
Modified: 2012-05-15 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
keyframe-transition: Create a new interval if necessary (1.48 KB, patch)
2012-05-14 14:53 UTC, Bastian Winkler
committed Details | Review

Description Bastian Winkler 2012-05-14 14:53:18 UTC
When setting up the transition manually by calling

  clutter_keyframe_transition_set_key_frame (transition, n, keys);
  clutter_keyframe_transition_set_values (transition, n, values);
  clutter_keyframe_transition_set_modes (transition, n, modes);

the frame doesn't have a valid interval when calling set_keys(), so we
need to check its existence and create it if necessary.
Comment 1 Bastian Winkler 2012-05-14 14:53:20 UTC
Created attachment 214005 [details] [review]
keyframe-transition: Create a new interval if necessary
Comment 2 Emmanuele Bassi (:ebassi) 2012-05-14 15:35:13 UTC
Review of attachment 214005 [details] [review]:

looks good
Comment 3 Bastian Winkler 2012-05-15 15:43:29 UTC
Attachment 214005 [details] pushed as 0ef4cc3 - keyframe-transition: Create a new interval if necessary