Fix misleading autokeyframing preference, it's only for new scenes.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 17 Jan 2019 11:00:18 +0000 (12:00 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 17 Jan 2019 11:00:18 +0000 (12:00 +0100)
release/scripts/startup/bl_ui/space_userpref.py

index b5a139e509bb260f37853452c11048f068d027d3..3d62fd309fb7f3f23c95ec8dfe7247f7d62fdcfb 100644 (file)
@@ -455,12 +455,6 @@ class USERPREF_PT_animation_autokey(PreferencePanel):
     bl_label = "Auto-Keyframing"
     bl_parent_id = "USERPREF_PT_animation_keyframes"
 
-    def draw_header(self, context):
-        prefs = context.preferences
-        edit = prefs.edit
-
-        self.layout.prop(edit, "use_auto_keying", text="")
-
     def draw_props(self, context, layout):
         prefs = context.preferences
         edit = prefs.edit
@@ -469,6 +463,7 @@ class USERPREF_PT_animation_autokey(PreferencePanel):
 
         flow.prop(edit, "use_auto_keying_warning", text="Show Warning")
         flow.prop(edit, "use_keyframe_insert_available", text="Only Insert Available")
+        flow.prop(edit, "use_auto_keying", text="Enable in New Scenes")
 
 
 class USERPREF_PT_animation_fcurves(PreferencePanel):