actor: Improve debug message for create_transition()
Add the property and easing state information.
This commit is contained in:
parent
42b933eeaf
commit
9371029a89
@ -593,6 +593,7 @@
|
||||
#include "clutter-container.h"
|
||||
#include "clutter-content-private.h"
|
||||
#include "clutter-debug.h"
|
||||
#include "clutter-easing.h"
|
||||
#include "clutter-effect-private.h"
|
||||
#include "clutter-enum-types.h"
|
||||
#include "clutter-fixed-layout.h"
|
||||
@ -17528,6 +17529,14 @@ _clutter_actor_create_transition (ClutterActor *actor,
|
||||
clutter_timeline_set_duration (timeline, info->cur_state->easing_duration);
|
||||
clutter_timeline_set_progress_mode (timeline, info->cur_state->easing_mode);
|
||||
|
||||
CLUTTER_NOTE (ANIMATION,
|
||||
"Created transition for %s:%s (len:%u, mode:%s, delay:%u)",
|
||||
_clutter_actor_get_debug_name (actor),
|
||||
pspec->name,
|
||||
info->cur_state->easing_duration,
|
||||
clutter_get_easing_name_for_mode (info->cur_state->easing_mode),
|
||||
info->cur_state->easing_delay);
|
||||
|
||||
/* this will start the transition as well */
|
||||
clutter_actor_add_transition (actor, pspec->name, res);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user