[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34949] trunk/blender/release/scripts/ui/ properties_particle.py: Fix for [#26120] Particle Grid options available when shouldn't
Janne Karhu
jhkarh at gmail.com
Fri Feb 18 01:40:16 CET 2011
Revision: 34949
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34949
Author: jhk
Date: 2011-02-18 00:40:15 +0000 (Fri, 18 Feb 2011)
Log Message:
-----------
Fix for [#26120] Particle Grid options available when shouldn't
Modified Paths:
--------------
trunk/blender/release/scripts/ui/properties_particle.py
Modified: trunk/blender/release/scripts/ui/properties_particle.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_particle.py 2011-02-18 00:21:19 UTC (rev 34948)
+++ trunk/blender/release/scripts/ui/properties_particle.py 2011-02-18 00:40:15 UTC (rev 34949)
@@ -226,7 +226,9 @@
row.prop(part, "emit_from", expand=True)
row = layout.row()
- if part.distribution == 'GRID':
+ if part.emit_from == 'VERT':
+ row.prop(part, "use_emit_random")
+ elif part.distribution == 'GRID':
row.prop(part, "invert_grid")
row.prop(part, "hexagonal_grid")
else:
More information about the Bf-blender-cvs
mailing list