Depsgraph: Fix residue of debug-only code

This commit is contained in:
Sergey Sharybin 2016-11-18 17:47:17 +01:00
parent b5b0354b7c
commit 82cee9cb89
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void deg_graph_build_finalize(Depsgraph *graph)
*/
GHASH_FOREACH_BEGIN(IDDepsNode *, id_node, graph->id_hash)
{
if (id_node->layers == 0 || 1) {
if (id_node->layers == 0) {
ID *id = id_node->id;
if (GS(id->name) == ID_OB) {
Object *object = (Object *)id;