diff options
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/gizmo/intern/wm_gizmo_target_props.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_target_props.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_target_props.c index 1c257424297..80876dfd798 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_target_props.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_target_props.c @@ -343,7 +343,7 @@ void WM_gizmo_target_property_anim_autokey(bContext *C, { if (gz_prop->prop != NULL) { Scene *scene = CTX_data_scene(C); - const float cfra = (float)CFRA; + const float cfra = (float)scene->r.cfra; const int index = gz_prop->index == -1 ? 0 : gz_prop->index; ED_autokeyframe_property(C, scene, &gz_prop->ptr, gz_prop->prop, index, cfra, false); } |