forked from bartvdbraak/blender
Interface: Remove some more name fields, not needed anymore with list rename.
Also small alignment tweaks to Keying Sets UI, looks better when the 2 columns have the same alignment.
This commit is contained in:
parent
fab96b5913
commit
61a28ef764
@ -122,33 +122,25 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel):
|
||||
split = layout.split(percentage=0.32)
|
||||
|
||||
col = split.column()
|
||||
col.label(text="Name:")
|
||||
col.label(text="Settings:")
|
||||
|
||||
col = split.column()
|
||||
col.prop(psys, "name", text="")
|
||||
col.template_ID(psys, "settings", new="particle.new")
|
||||
else:
|
||||
part = psys.settings
|
||||
|
||||
split = layout.split(percentage=0.32)
|
||||
col = split.column()
|
||||
col.label(text="Name:")
|
||||
if part.is_fluid is False:
|
||||
col.label(text="Settings:")
|
||||
col.label(text="Type:")
|
||||
|
||||
col = split.column()
|
||||
col.prop(psys, "name", text="")
|
||||
if part.is_fluid is False:
|
||||
row = col.row()
|
||||
row.enabled = particle_panel_enabled(context, psys)
|
||||
row.template_ID(psys, "settings", new="particle.new")
|
||||
|
||||
#row = layout.row()
|
||||
#row.label(text="Viewport")
|
||||
#row.label(text="Render")
|
||||
|
||||
if part.is_fluid:
|
||||
layout.label(text=iface_("%d fluid particles for this frame") % part.count, translate=False)
|
||||
return
|
||||
|
@ -106,14 +106,13 @@ class SCENE_PT_keying_sets(SceneButtonsPanel, Panel):
|
||||
row = layout.row()
|
||||
|
||||
col = row.column()
|
||||
col.prop(ks, "bl_label")
|
||||
col.prop(ks, "bl_description")
|
||||
|
||||
subcol = col.column()
|
||||
subcol.operator_context = 'INVOKE_DEFAULT'
|
||||
subcol.operator("anim.keying_set_export", text="Export to File").filepath = "keyingset.py"
|
||||
|
||||
col = row.column(align=True)
|
||||
col = row.column()
|
||||
col.label(text="Keyframing Settings:")
|
||||
col.prop(ks, "bl_options")
|
||||
|
||||
@ -169,7 +168,7 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel, Panel):
|
||||
if ksp.group_method == 'NAMED':
|
||||
col.prop(ksp, "group")
|
||||
|
||||
col = row.column(align=True)
|
||||
col = row.column()
|
||||
col.label(text="Keyframing Settings:")
|
||||
col.prop(ksp, "bl_options")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user