Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/pipeline.cc
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | void AbstractBuilderPipeline::build_step_finalize() | ||||
| * it is causing trouble. */ | * it is causing trouble. */ | ||||
| if (G.debug_value == 799) { | if (G.debug_value == 799) { | ||||
| deg_graph_transitive_reduction(deg_graph_); | deg_graph_transitive_reduction(deg_graph_); | ||||
| } | } | ||||
| /* Store pointers to commonly used evaluated datablocks. */ | /* Store pointers to commonly used evaluated 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_graph_build_finalize(bmain_, deg_graph_); | deg_graph_build_finalize(bmain_, deg_graph_); | ||||
| DEG_graph_tag_on_visible_update(bmain_, reinterpret_cast<::Depsgraph *>(deg_graph_), false); | DEG_graph_tag_on_visible_update(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 All 13 Lines | |||||