Fix: baking simulation only bakes a single frame
When using the bake button in a simulation zone, it currently only bakes a single frame. Still baking only works in the Bake node. Pull Request: https://projects.blender.org/blender/blender/pulls/120138
This commit is contained in:
@@ -839,7 +839,7 @@ static Vector<NodeBakeRequest> bake_single_node_gather_bake_request(bContext *C,
|
||||
}
|
||||
request.path = std::move(*bake_path);
|
||||
|
||||
if (bake->bake_mode == NODES_MODIFIER_BAKE_MODE_STILL) {
|
||||
if (node->type == GEO_NODE_BAKE && bake->bake_mode == NODES_MODIFIER_BAKE_MODE_STILL) {
|
||||
const int current_frame = scene->r.cfra;
|
||||
request.frame_start = current_frame;
|
||||
request.frame_end = current_frame;
|
||||
|
||||
Reference in New Issue
Block a user