[Bf-extensions-cvs] [57d6a1e3] master: AnimAll: Remove key handle type since this can lead to jumps. See T98965

Daniel Salazar noreply at git.blender.org
Sat Jun 18 09:04:56 CEST 2022


Commit: 57d6a1e3e82021116f770171c5da173e43b454f8
Author: Daniel Salazar
Date:   Sat Jun 18 01:04:45 2022 -0600
Branches: master
https://developer.blender.org/rBA57d6a1e3e82021116f770171c5da173e43b454f8

AnimAll: Remove key handle type since this can lead to jumps. See T98965

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

M	animation_animall.py

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

diff --git a/animation_animall.py b/animation_animall.py
index 809bd31b..5ea5952b 100644
--- a/animation_animall.py
+++ b/animation_animall.py
@@ -77,11 +77,6 @@ class AnimallProperties(bpy.types.PropertyGroup):
         description="Insert keyframes on point locations",
         default=False
     )
-    key_handle_type: BoolProperty(
-        name="Handle Types",
-        description="Insert keyframes on Bezier point types",
-        default=False
-    )
     key_radius: BoolProperty(
         name="Radius",
         description="Insert keyframes on point radius (Shrink/Fatten)",
@@ -188,8 +183,6 @@ class VIEW3D_PT_animall(Panel):
             row = col.row(align = True)
             row.prop(animall_properties, "key_radius")
             row.prop(animall_properties, "key_tilt")
-            row = col.row(align = True)
-            row.prop(animall_properties, "key_handle_type")
 
         elif obj.type == 'SURFACE':
             row.prop(animall_properties, "key_points")
@@ -284,10 +277,6 @@ class ANIM_OT_insert_keyframe_animall(Operator):
                                 if animall_properties.key_radius:
                                     insert_key(CV, 'radius', group="Spline %s CV %s" % (s_i, v_i))
 
-                                if animall_properties.key_handle_type:
-                                    insert_key(CV, 'handle_left_type', group="spline %s CV %s" % (s_i, v_i))
-                                    insert_key(CV, 'handle_right_type', group="spline %s CV %s" % (s_i, v_i))
-
                                 if animall_properties.key_tilt:
                                     insert_key(CV, 'tilt', group="Spline %s CV %s" % (s_i, v_i))
 
@@ -533,9 +522,6 @@ class ANIM_OT_delete_keyframe_animall(Operator):
                                     delete_key(CV, 'co')
                                     delete_key(CV, 'handle_left')
                                     delete_key(CV, 'handle_right')
-                                if animall_properties.key_handle_type:
-                                    delete_key(CV, 'handle_left_type')
-                                    delete_key(CV, 'handle_right_type')
                                 if animall_properties.key_radius:
                                     delete_key(CV, 'radius')
                                 if animall_properties.key_tilt:



More information about the Bf-extensions-cvs mailing list