Depsgraph: Cleanup, remove unused function
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 15 Dec 2017 16:47:15 +0000 (17:47 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 15 Dec 2017 16:47:15 +0000 (17:47 +0100)
source/blender/depsgraph/intern/depsgraph_intern.h
source/blender/depsgraph/intern/depsgraph_type_defines.cc

index 0cef5f614cb4055a50eeb667fa395644d434c491..3aee55369824e12e04ffaa8f5f7bd1046878147d 100644 (file)
@@ -104,9 +104,6 @@ void deg_register_node_typeinfo(DepsNodeFactory *factory);
 /* Get typeinfo for specified type */
 DepsNodeFactory *deg_type_get_factory(const eDepsNode_Type type);
 
-/* Get typeinfo for provided node */
-DepsNodeFactory *deg_node_get_factory(const DepsNode *node);
-
 /* Editors Integration -------------------------------------------------- */
 
 void deg_editors_id_update(struct Main *bmain, struct ID *id);
index f51bfaff06e7d3b0c7256c5e3b4181b1e08323b5..675002d6b90427665e2dc3c22d6435a88307f2d0 100644 (file)
@@ -71,15 +71,6 @@ DepsNodeFactory *deg_type_get_factory(const eDepsNode_Type type)
        return depsnode_typeinfo_registry[type];
 }
 
-/* Get typeinfo for provided node */
-DepsNodeFactory *deg_node_get_factory(const DepsNode *node)
-{
-       if (node != NULL) {
-               return NULL;
-       }
-       return deg_type_get_factory(node->type);
-}
-
 /* Stringified opcodes ------------------------------------- */
 
 DepsOperationStringifier DEG_OPNAMES;