[Bf-blender-cvs] [f296705] depsgraph_refactor: Depsgraph: Code cleanup, remove unused code

Sergey Sharybin noreply at git.blender.org
Mon Mar 23 14:43:43 CET 2015


Commit: f296705352ddd235fef19c9b293ed53e1d240bfe
Author: Sergey Sharybin
Date:   Mon Mar 23 18:43:25 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rBf296705352ddd235fef19c9b293ed53e1d240bfe

Depsgraph: Code cleanup, remove unused code

===================================================================

M	source/blender/depsgraph/intern/depsgraph_build.cpp

===================================================================

diff --git a/source/blender/depsgraph/intern/depsgraph_build.cpp b/source/blender/depsgraph/intern/depsgraph_build.cpp
index 9743a32..5c1b034 100644
--- a/source/blender/depsgraph/intern/depsgraph_build.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build.cpp
@@ -248,9 +248,6 @@ static void deg_graph_build_finalize(Depsgraph *graph)
 			if (id->flag & LIB_ID_RECALC_ALL &&
 			    id->flag & LIB_DOIT)
 			{
-				if (GS(id->name) == ID_OB) {
-					Object *object = (Object *)id;
-				}
 				id_node->tag_update(graph);
 				id->flag &= ~LIB_DOIT;
 			}




More information about the Bf-blender-cvs mailing list