From 75d49b7f559aae2bcf85ac8666d87bf605adac8f Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Thu, 8 May 2014 18:42:03 +0900 Subject: Removed a Freestyle hack for DAG updates introduced in commit rBae58968e0a61. Now that Freestyle employs a separate Main, this workaround is no longer necessary. Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D513 --- source/blender/blenkernel/intern/depsgraph.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source/blender/blenkernel/intern/depsgraph.c') diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index 54709273c47..6533cd4aabe 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -2589,12 +2589,7 @@ void DAG_ids_check_recalc(Main *bmain, Scene *scene, bool time) /* we tag based on first ID type character to avoid * looping over all ID's in case there are no tags */ - if (id && -#ifdef WITH_FREESTYLE - /* XXX very weak... added check for '27' to ignore freestyle added objects */ - id->name[2] > 27 && -#endif - bmain->id_tag_update[id->name[0]]) + if (id && bmain->id_tag_update[id->name[0]]) { updated = true; break; -- cgit v1.2.3