From ba5b792dd997d634c0901bddbca4ebb82d6ebbbe Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 5 Apr 2017 11:11:44 +0200 Subject: Depsgraph: Remove all layer bit flags related checks These bits became obsolete with the new layer system, so we can simplify some code around them or avoid existing workarounds which were trying to keep things working for them. There are still work needed to be done for on_visible_change to avoid unnecessary updates, but that can also happen later. --- source/blender/depsgraph/intern/eval/deg_eval.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/depsgraph/intern/eval/deg_eval.h') diff --git a/source/blender/depsgraph/intern/eval/deg_eval.h b/source/blender/depsgraph/intern/eval/deg_eval.h index 49c0379939e..576ab89dec1 100644 --- a/source/blender/depsgraph/intern/eval/deg_eval.h +++ b/source/blender/depsgraph/intern/eval/deg_eval.h @@ -46,7 +46,6 @@ struct Depsgraph; * \note Time sources should be all valid! */ void deg_evaluate_on_refresh(EvaluationContext *eval_ctx, - Depsgraph *graph, - const unsigned int layers); + Depsgraph *graph); } // namespace DEG -- cgit v1.2.3