diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-01-17 17:43:26 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-01-17 17:43:26 +0400 |
commit | 07346b62a53c4c6287d21ae7bcad4aea3f370fdd (patch) | |
tree | c27ea38d39ed505f50b242870464a9b8ec422179 /source | |
parent | d03e7687613ff288e027198ac58df59cd9f1677e (diff) |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 0426d06e583..807b6d80a44 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -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); } } |