Geometry Nodes: new Bake node #115466

Merged
Jacques Lucke merged 93 commits from JacquesLucke/blender:bake-geometry-nodes into main 2023-12-18 13:01:16 +01:00
Showing only changes of commit 04e250bffe - Show all commits

View File

@ -810,6 +810,7 @@ static int bake_single_node_exec(bContext *C, wmOperator *op)
const std::optional<bake::BakePath> bake_path = bake::get_node_bake_path(
*bmain, *object, nmd, bake_id);
if (!bake_path.has_value()) {
BKE_report(op->reports, RPT_ERROR, "Can not determine bake location on disk");
return OPERATOR_CANCELLED;
}
request.path = std::move(*bake_path);