diff options
author | Janne Karhu <jhkarh@gmail.com> | 2010-11-26 18:37:08 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2010-11-26 18:37:08 +0300 |
commit | 782d7b312ff6799258fb318e2aa5bbd64dbd2a9d (patch) | |
tree | 64a15bfcabaaa0cfdf78b44410196938b9cb158a | |
parent | 4efffc90f90c16bc515aecc2e3274f420bfe84dc (diff) |
"Fix" for [#24934] Particle single user crash
* Changing anything related to particle settings shouldn't be allowed when in particle mode, so disabled the buttons in ui.
-rw-r--r-- | release/scripts/ui/properties_particle.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py index ff49b0e4e9f..6389dcb2207 100644 --- a/release/scripts/ui/properties_particle.py +++ b/release/scripts/ui/properties_particle.py @@ -102,7 +102,9 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, bpy.types.Panel): col = split.column() col.prop(psys, "name", text="") if part.type in ('EMITTER', 'REACTOR', 'HAIR'): - col.template_ID(psys, "settings", new="particle.new") + row = col.row() + row.enabled = particle_panel_enabled(context, psys) + row.template_ID(psys, "settings", new="particle.new") #row = layout.row() #row.label(text="Viewport") |