Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/depsgraph_build.cc
| Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | static void graph_build_finalize_common(DEG::Depsgraph *deg_graph, Main *bmain) | ||||
| * it is causing trouble. */ | * it is causing trouble. */ | ||||
| if (G.debug_value == 799) { | if (G.debug_value == 799) { | ||||
| DEG::deg_graph_transitive_reduction(deg_graph); | DEG::deg_graph_transitive_reduction(deg_graph); | ||||
| } | } | ||||
| /* Store pointers to commonly used valuated datablocks. */ | /* Store pointers to commonly used valuated datablocks. */ | ||||
| deg_graph->scene_cow = (Scene *)deg_graph->get_cow_id(°_graph->scene->id); | deg_graph->scene_cow = (Scene *)deg_graph->get_cow_id(°_graph->scene->id); | ||||
| /* Flush visibility layer and re-schedule nodes for update. */ | /* Flush visibility layer and re-schedule nodes for update. */ | ||||
| DEG::deg_graph_build_finalize(bmain, deg_graph); | DEG::deg_graph_build_finalize(bmain, deg_graph); | ||||
| DEG_graph_on_visible_update(bmain, reinterpret_cast<::Depsgraph *>(deg_graph)); | DEG_graph_on_visible_update(bmain, reinterpret_cast<::Depsgraph *>(deg_graph), false); | ||||
| #if 0 | #if 0 | ||||
| if (!DEG_debug_consistency_check(deg_graph)) { | if (!DEG_debug_consistency_check(deg_graph)) { | ||||
| printf("Consistency validation failed, ABORTING!\n"); | printf("Consistency validation failed, ABORTING!\n"); | ||||
| abort(); | abort(); | ||||
| } | } | ||||
| #endif | #endif | ||||
| /* Relations are up to date. */ | /* Relations are up to date. */ | ||||
| deg_graph->need_update = false; | deg_graph->need_update = false; | ||||
| ▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines | |||||