Fix for bug #10144: "set editable" on a disabled particle system
could cause crashes. Fix related to bug #10198: particle mode didn't respect undo steps set to 0. Also made the memory statistics print (ctrl+alt+shift+q) use the more human readable form to give an overview, instead of printing out a python script.
This commit is contained in:
@@ -3130,9 +3130,13 @@ void do_effects_panels(unsigned short event)
|
||||
}
|
||||
}
|
||||
else {
|
||||
psys->flag |= PSYS_EDITED;
|
||||
if(G.f & G_PARTICLEEDIT)
|
||||
PE_create_particle_edit(ob, psys);
|
||||
if(psys_check_enabled(ob, psys)) {
|
||||
psys->flag |= PSYS_EDITED;
|
||||
if(G.f & G_PARTICLEEDIT)
|
||||
PE_create_particle_edit(ob, psys);
|
||||
}
|
||||
else
|
||||
error("Particle system not enabled, skipping set editable");
|
||||
}
|
||||
}
|
||||
case B_FIELD_DEP:
|
||||
|
||||
Reference in New Issue
Block a user