Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/depsgraph_debug.cc
| Show First 20 Lines • Show All 240 Lines • ▼ Show 20 Lines | if (r_relations) { | ||||
| *r_relations = tot_rels; | *r_relations = tot_rels; | ||||
| } | } | ||||
| if (r_outer) { | if (r_outer) { | ||||
| *r_outer = tot_outer; | *r_outer = tot_outer; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| bool DEG_debug_is_evaluating(struct Depsgraph *depsgraph) | |||||
| { | |||||
| DEG::Depsgraph *deg_graph = reinterpret_cast<DEG::Depsgraph *>(depsgraph); | |||||
| return deg_graph->debug_is_evaluating; | |||||
| } | |||||
| static DEG::string depsgraph_name_for_logging(struct Depsgraph *depsgraph) | static DEG::string depsgraph_name_for_logging(struct Depsgraph *depsgraph) | ||||
| { | { | ||||
| const char *name = DEG_debug_name_get(depsgraph); | const char *name = DEG_debug_name_get(depsgraph); | ||||
| if (name[0] == '\0') { | if (name[0] == '\0') { | ||||
| return ""; | return ""; | ||||
| } | } | ||||
| return "[" + DEG::string(name) + "]: "; | return "[" + DEG::string(name) + "]: "; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines | |||||