Geometry Nodes: Simulation calculate to frame operator #107627

Merged
Lukas Tönne merged 3 commits from LukasTonne/blender:cache-to-frame-op into main 2023-05-08 13:41:28 +02:00
1 changed files with 6 additions and 2 deletions
Showing only changes of commit 80173e3950 - Show all commits

View File

@ -463,14 +463,18 @@ void OBJECT_OT_simulation_nodes_cache_calculate_to_frame(wmOperatorType *ot)
ot->name = "Calculate Simulation to Frame";
ot->description =
"Calculate simulations in geometry nodes modifiers from start to current frame";
"Calculate simulations in geometry nodes modifiers from the start to current frame";
ot->idname = __func__;
ot->invoke = calculate_to_frame_invoke;
ot->modal = calculate_to_frame_modal;
ot->poll = calculate_to_frame_poll;
RNA_def_boolean(ot->srna, "selected", false, "Selected", "Bake cache on all selected objects");
RNA_def_boolean(ot->srna,
"selected",
false,
"Selected",
"Calculate all selected objects instead of just the active object");

from start -> from the start

`from start` -> `from the start`
}
void OBJECT_OT_simulation_nodes_cache_bake(wmOperatorType *ot)