Fix T40057: invisible hair particles slowing down mesh edits
Skip doing particle update in object_handle_update if object is in edit mode. Object will be re-evaluated on exit from edit mode anyway, so it's _expected_ to be a safe change.
This commit is contained in:
@@ -2975,7 +2975,7 @@ void BKE_object_handle_update_ex(EvaluationContext *eval_ctx,
|
||||
lamp_drivers_update(scene, ob->data, ctime);
|
||||
|
||||
/* particles */
|
||||
if (ob->particlesystem.first) {
|
||||
if (ob != scene->obedit && ob->particlesystem.first) {
|
||||
ParticleSystem *tpsys, *psys;
|
||||
DerivedMesh *dm;
|
||||
ob->transflag &= ~OB_DUPLIPARTS;
|
||||
|
||||
Reference in New Issue
Block a user