"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.
This commit is contained in:
@@ -102,7 +102,9 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, bpy.types.Panel):
|
|||||||
col = split.column()
|
col = split.column()
|
||||||
col.prop(psys, "name", text="")
|
col.prop(psys, "name", text="")
|
||||||
if part.type in ('EMITTER', 'REACTOR', 'HAIR'):
|
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 = layout.row()
|
||||||
#row.label(text="Viewport")
|
#row.label(text="Viewport")
|
||||||
|
Reference in New Issue
Block a user