Remove confusing recalc flag from simplify update callback

PSYS_RECALC_CHILD is not handled by handle_object_update at
all so it was rather pointless to set this flag.

Double-checked with Brecht.
This commit is contained in:
Sergey Sharybin 2014-01-17 19:43:26 +06:00
parent d03e768761
commit 07346b62a5
1 changed files with 0 additions and 2 deletions

View File

@ -1270,8 +1270,6 @@ static void object_simplify_update(Object *ob)
for (md = ob->modifiers.first; md; md = md->next) {
if (ELEM3(md->type, eModifierType_Subsurf, eModifierType_Multires, eModifierType_ParticleSystem)) {
/* TODO(sergey): Figure out what da heck we're using PSYS flag on object. */
ob->recalc |= PSYS_RECALC_CHILD;
DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
}
}