[Bf-blender-cvs] [06ee560da74] master: Fix misleading autokeyframing preference, it's only for new scenes.

Brecht Van Lommel noreply at git.blender.org
Thu Jan 17 12:14:18 CET 2019


Commit: 06ee560da740d58c546b9b7bb70e0f4d146e4f25
Author: Brecht Van Lommel
Date:   Thu Jan 17 12:00:18 2019 +0100
Branches: master
https://developer.blender.org/rB06ee560da740d58c546b9b7bb70e0f4d146e4f25

Fix misleading autokeyframing preference, it's only for new scenes.

===================================================================

M	release/scripts/startup/bl_ui/space_userpref.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index b5a139e509b..3d62fd309fb 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -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):



More information about the Bf-blender-cvs mailing list