2.5 Particle UI:
authorThomas Dinges <blender@dingto.org>
Fri, 20 May 2011 17:08:09 +0000 (17:08 +0000)
committerThomas Dinges <blender@dingto.org>
Fri, 20 May 2011 17:08:09 +0000 (17:08 +0000)
*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.

release/scripts/startup/bl_ui/properties_particle.py
release/scripts/startup/bl_ui/space_view3d_toolbar.py

index 5037308c6fd1560bd817dfb2b008627a75f39e3a..63333083cb2129d904ff5d362b6d45be2b7770ca 100644 (file)
@@ -168,10 +168,8 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, bpy.types.Panel):
                 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")
index a6db6fbdde85b4eb35260e9dc85c8c90907858ac..503a1d806ac698d1075663df59f9e352c47a6750 100644 (file)
@@ -1245,7 +1245,7 @@ class VIEW3D_PT_tools_particlemode(View3DPanel, bpy.types.Panel):
         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 @@ class VIEW3D_PT_tools_particlemode(View3DPanel, bpy.types.Panel):
                     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")