forked from blender/blender
davidhaver-WIP-realize-depth #3
@ -44,7 +44,7 @@ static void node_geo_exec(GeoNodeExecParams params)
|
|||||||
|
|
||||||
static auto depth_override = mf::build::SI2_SO<int, bool, int>(
|
static auto depth_override = mf::build::SI2_SO<int, bool, int>(
|
||||||
"depth_override",
|
"depth_override",
|
||||||
[](int value, bool realize) { return realize ? -1 : value; },
|
[](int value, bool realize) { return realize ? -1 : std::max(value, 0); },
|
||||||
mf::build::exec_presets::AllSpanOrSingle());
|
mf::build::exec_presets::AllSpanOrSingle());
|
||||||
|
|
||||||
static auto selection_override = mf::build::SI2_SO<int, bool, bool>(
|
static auto selection_override = mf::build::SI2_SO<int, bool, bool>(
|
||||||
|
Loading…
Reference in New Issue
Block a user