Skip to content
Snippets Groups Projects
Commit 038db9d6 authored by Damien Picard's avatar Damien Picard
Browse files

AnimAll: add column heading for missing object types

Only mesh add headings for attributes to key; now curves, surfaces and
lattices do, too.
parent b228db8b
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment