[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36803] trunk/blender/release/scripts/ startup/bl_ui: 2.5 Particle UI:
Thomas Dinges
blender at dingto.org
Fri May 20 19:08:09 CEST 2011
Revision: 36803
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36803
Author: dingto
Date: 2011-05-20 17:08:09 +0000 (Fri, 20 May 2011)
Log Message:
-----------
2.5 Particle UI:
*In Particle Mode, there was no way to see what p-sys is being edited in the 3D View Tool bar, when having multiple ones.
Changed List type to normal (with limit to 3 rows). Request by venomgfx. :)
* Removed redundant text info about disconnected hair from Particle UI.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_particle.py 2011-05-20 16:52:10 UTC (rev 36802)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_particle.py 2011-05-20 17:08:09 UTC (rev 36803)
@@ -168,10 +168,8 @@
if psys != None and psys.is_edited:
if psys.is_global_hair:
layout.operator("particle.connect_hair")
- layout.label(text="Hair is disconnected.")
else:
layout.operator("particle.disconnect_hair")
- layout.label(text="")
elif psys != None and part.type == 'REACTOR':
split.enabled = particle_panel_enabled(context, psys)
split.prop(psys, "reactor_target_object")
Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 2011-05-20 16:52:10 UTC (rev 36802)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 2011-05-20 17:08:09 UTC (rev 36803)
@@ -1245,7 +1245,7 @@
if pe.type == 'PARTICLES':
if ob.particle_systems:
if len(ob.particle_systems) > 1:
- layout.template_list(ob, "particle_systems", ob.particle_systems, "active_index", type='ICONS')
+ layout.template_list(ob, "particle_systems", ob.particle_systems, "active_index", rows=2, maxrows=3)
ptcache = ob.particle_systems.active.point_cache
else:
@@ -1254,7 +1254,7 @@
ptcache = md.point_cache
if ptcache and len(ptcache.point_caches) > 1:
- layout.template_list(ptcache, "point_caches", ptcache.point_caches, "active_index", type='ICONS')
+ layout.template_list(ptcache, "point_caches", ptcache.point_caches, "active_index", rows=2, maxrows=3)
if not pe.is_editable:
layout.label(text="Point cache must be baked")
More information about the Bf-blender-cvs
mailing list