[Bf-extensions-cvs] [038db9d6] master: AnimAll: add column heading for missing object types

Damien Picard noreply at git.blender.org
Sun Jun 19 11:29:32 CEST 2022


Commit: 038db9d607b352f6a7391c5a6b3ab906692c9421
Author: Damien Picard
Date:   Sun Jun 19 11:26:40 2022 +0200
Branches: master
https://developer.blender.org/rBA038db9d607b352f6a7391c5a6b3ab906692c9421

AnimAll: add column heading for missing object types

Only mesh add headings for attributes to key; now curves, surfaces and
lattices do, too.

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

M	animation_animall.py

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

diff --git a/animation_animall.py b/animation_animall.py
index 920f3177..944f4a2f 100644
--- a/animation_animall.py
+++ b/animation_animall.py
@@ -153,8 +153,10 @@ class VIEW3D_PT_animall(Panel):
         layout.use_property_decorate = False
 
         if obj.type == 'LATTICE':
-            col = layout.column(align=True)
+            col = layout.column(heading="Points", align=True)
             col.prop(animall_properties, "key_point_location")
+
+            col = layout.column(heading="Others", align=True)
             col.prop(animall_properties, "key_shape_key")
 
         elif obj.type == 'MESH':
@@ -187,10 +189,15 @@ class VIEW3D_PT_animall(Panel):
 
         elif obj.type in {'CURVE', 'SURFACE'}:
             col = layout.column(align=True)
+            col = layout.column(heading="Points", align=True)
             col.prop(animall_properties, "key_point_location")
             col.prop(animall_properties, "key_radius")
             col.prop(animall_properties, "key_tilt")
+
+            col = layout.column(heading="Splines", align=True)
             col.prop(animall_properties, "key_material_index")
+
+            col = layout.column(heading="Others", align=True)
             col.prop(animall_properties, "key_shape_key")
 
         if animall_properties.key_shape_key:



More information about the Bf-extensions-cvs mailing list