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:
authorJanne Karhu <jhkarh@gmail.com>2011-02-18 03:40:15 +0300
committerJanne Karhu <jhkarh@gmail.com>2011-02-18 03:40:15 +0300
commit1dc4db7775f0a7a078aa32f44d51cd495528ec4d (patch)
treedcc8c9b655ae2963dd8b7ca452d56f3b39472a0e /release
parentfd155103a23d8648a64ad74c7c97fa373f441599 (diff)
Fix for [#26120] Particle Grid options available when shouldn't
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_particle.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py
index f84b052df73..34dd6ab77de 100644
--- a/release/scripts/ui/properties_particle.py
+++ b/release/scripts/ui/properties_particle.py
@@ -226,7 +226,9 @@ class PARTICLE_PT_emission(ParticleButtonsPanel, bpy.types.Panel):
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: