[Bf-blender-cvs] [61a28ef] master: Interface: Remove some more name fields, not needed anymore with list rename.
Thomas Dinges
noreply at git.blender.org
Sun Nov 24 15:15:11 CET 2013
Commit: 61a28ef7643e50178a1d42d0db41d8eaf732debd
Author: Thomas Dinges
Date: Sun Nov 24 15:14:45 2013 +0100
http://developer.blender.org/rB61a28ef7643e50178a1d42d0db41d8eaf732debd
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.
===================================================================
M release/scripts/startup/bl_ui/properties_particle.py
M release/scripts/startup/bl_ui/properties_scene.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index f8a37e2..c5997eb 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -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
diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py
index 34143c7..10574c8 100644
--- a/release/scripts/startup/bl_ui/properties_scene.py
+++ b/release/scripts/startup/bl_ui/properties_scene.py
@@ -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")
More information about the Bf-blender-cvs
mailing list