Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <william@reynish.com>2009-08-16 15:25:18 +0400
committerWilliam Reynish <william@reynish.com>2009-08-16 15:25:18 +0400
commit2cc64a95b5030854df4f2ea7740018b94e60b24b (patch)
treefced4f940ae351396653d2862d41703c9748948b /release
parent591e5c18a4f007435340879074e0dbc2a3fd6868 (diff)
Minor adjustments to particle buttons and particle brush panels. Use only two rows in lists, and added greying out.
Diffstat (limited to 'release')
-rw-r--r--release/ui/buttons_particle.py9
-rw-r--r--release/ui/space_view3d_toolbar.py12
2 files changed, 11 insertions, 10 deletions
diff --git a/release/ui/buttons_particle.py b/release/ui/buttons_particle.py
index dae95dfcc00..07ad3b7841c 100644
--- a/release/ui/buttons_particle.py
+++ b/release/ui/buttons_particle.py
@@ -32,7 +32,7 @@ class PARTICLE_PT_particles(ParticleButtonsPanel):
if ob:
row = layout.row()
- row.template_list(ob, "particle_systems", ob, "active_particle_system_index")
+ row.template_list(ob, "particle_systems", ob, "active_particle_system_index", rows=2)
col = row.column(align=True)
col.itemO("object.particle_system_add", icon="ICON_ZOOMIN", text="")
@@ -154,7 +154,7 @@ class PARTICLE_PT_cache(ParticleButtonsPanel):
layout.set_context_pointer("PointCache", cache)
row = layout.row()
- row.template_list(cache, "point_cache_list", cache, "active_point_cache_index")
+ row.template_list(cache, "point_cache_list", cache, "active_point_cache_index", rows=2 )
col = row.column(align=True)
col.itemO("ptcache.add_new", icon="ICON_ZOOMIN", text="")
col.itemO("ptcache.remove", icon="ICON_ZOOMOUT", text="")
@@ -711,9 +711,8 @@ class PARTICLE_PT_draw(ParticleButtonsPanel):
col = row.column()
col.itemR(part, "material_color", text="Use material color")
- if (path):
- box = col.box()
- box.itemR(part, "draw_step")
+ if (path):
+ col.itemR(part, "draw_step")
else:
subcol = col.column()
subcol.active = part.material_color==False
diff --git a/release/ui/space_view3d_toolbar.py b/release/ui/space_view3d_toolbar.py
index 1316df8d2ee..20e69a832ad 100644
--- a/release/ui/space_view3d_toolbar.py
+++ b/release/ui/space_view3d_toolbar.py
@@ -304,16 +304,18 @@ class VIEW3D_PT_tools_brush(PaintPanel):
layout.column().itemR(settings, "tool", expand=True)
if settings.tool != 'NONE':
- col = layout.column(align=True)
+ col = layout.column()
col.itemR(brush, "size", slider=True)
col.itemR(brush, "strength", slider=True)
if settings.tool == 'ADD':
- layout.itemR(settings, "add_interpolate")
col = layout.column()
- col.itemR(brush, "steps", slider=True)
- col.itemR(settings, "add_keys", slider=True)
+ col.itemR(settings, "add_interpolate")
+ sub = col.column(align=True)
+ sub.active = settings.add_interpolate
+ sub.itemR(brush, "steps", slider=True)
+ sub.itemR(settings, "add_keys", slider=True)
elif settings.tool == 'LENGTH':
layout.itemR(brush, "length_mode", expand=True)
elif settings.tool == 'PUFF':
@@ -560,7 +562,7 @@ class VIEW3D_PT_tools_particlemode(View3DPanel):
col.itemR(pe, "keep_root", text="Root")
col = layout.column(align=True)
- col.itemL(text="Draw:")
+ col.itemL(text="Display:")
col.itemR(pe, "show_time", text="Time")
col.itemR(pe, "show_children", text="Children")