[Bf-blender-cvs] [0cfbf16] depsgraph_refactor: Removed the unused "Color" enum.

Lukas Tönne noreply at git.blender.org
Tue May 13 18:41:05 CEST 2014


Commit: 0cfbf1644115761cab140c8874772af40f158f3e
Author: Lukas Tönne
Date:   Sun May 11 10:29:37 2014 +0200
https://developer.blender.org/rB0cfbf1644115761cab140c8874772af40f158f3e

Removed the unused "Color" enum.

This was part of old depsgraph algorithms, but is not used in the new
code so far. Can be added back easily if required, but preferably in a
more transparent way (color meaning is far from intuitive).

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

M	source/blender/depsgraph/intern/depsnode.h

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

diff --git a/source/blender/depsgraph/intern/depsnode.h b/source/blender/depsgraph/intern/depsnode.h
index 0c90618..e2b803e 100644
--- a/source/blender/depsgraph/intern/depsnode.h
+++ b/source/blender/depsgraph/intern/depsnode.h
@@ -52,13 +52,6 @@ struct OperationDepsNode;
 /* ************************************* */
 /* Base-Defines for Nodes in Depsgraph */
 
-/* "Colors" for use in depsgraph topology algorithms */
-typedef enum eDepsNode_Color {
-	DEPSNODE_WHITE = 0,
-	DEPSNODE_GRAY  = 1,
-	DEPSNODE_BLACK = 2
-} eDepsNode_Color;
-
 /* All nodes in Depsgraph are descended from this */
 struct DepsNode {
 	/* Helper class for static typeinfo in subclasses */




More information about the Bf-blender-cvs mailing list