Add Active Camera geometry node #106065

Closed
dbsc wants to merge 15 commits from dbsc/blender:active_camera_geo_node into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 6d1d0ff059 - Show all commits

View File

@ -154,9 +154,9 @@ ModifierSimulationState &ModifierSimulationCache::get_state_at_frame_for_write(
return states_at_frames_[i]->state;
}
// if (!states_at_frames_.is_empty()) {
// BLI_assert(frame > states_at_frames_.last()->frame);
// }
if (!states_at_frames_.is_empty()) {
BLI_assert(frame > states_at_frames_.last()->frame);
}
states_at_frames_.append(std::make_unique<ModifierSimulationStateAtFrame>());
states_at_frames_.last()->frame = frame;