Geometry Nodes: new Bake node #115466
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user