[Bf-blender-cvs] [e65e32b] depsgraph_refactor: add_relation() now prints errors everytime it can't find a required node
Joshua Leung
noreply at git.blender.org
Fri Dec 5 05:22:11 CET 2014
Commit: e65e32b518cba97f38c883c41f8189733b520c4e
Author: Joshua Leung
Date: Fri Dec 5 17:21:57 2014 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rBe65e32b518cba97f38c883c41f8189733b520c4e
add_relation() now prints errors everytime it can't find a required node
Judging by the results on Koro, we have a long way to go... :(
===================================================================
M source/blender/depsgraph/intern/depsgraph_build.h
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_build.h b/source/blender/depsgraph/intern/depsgraph_build.h
index 7ba0b04..2f4892d 100644
--- a/source/blender/depsgraph/intern/depsgraph_build.h
+++ b/source/blender/depsgraph/intern/depsgraph_build.h
@@ -310,9 +310,13 @@ void DepsgraphRelationBuilder::add_relation(const KeyFrom &key_from, const KeyTo
else {
if (!op_from) {
/* XXX TODO handle as error or report if needed */
+ fprintf(stderr, "add_relation(%d, %s) - Could not find op_from\n",
+ type, description.c_str());
}
if (!op_to) {
/* XXX TODO handle as error or report if needed */
+ fprintf(stderr, "add_relation(%d, %s) - Could not find op_to\n",
+ type, description.c_str());
}
}
}
More information about the Bf-blender-cvs
mailing list