Realize depth code review fixes #6

Merged
Arye Ramaty merged 10 commits from David-Haver/blender:realize-depth into WIP-realize-depth 2024-04-22 11:18:11 +02:00
Showing only changes of commit 317e703221 - Show all commits

View File

@ -23,7 +23,9 @@ static void node_declare(NodeDeclarationBuilder &b)
b.add_input<decl::Bool>("Realize All") b.add_input<decl::Bool>("Realize All")
.default_value(true) .default_value(true)
.field_on_all() .field_on_all()
.description("Determine wether to realize nested instances completly"); .description(
"Realize all levels of nested instances for a top-level instances. Overrides the value "
"of the Depth input");
b.add_input<decl::Int>("Depth").default_value(0).min(0).field_on_all().description( b.add_input<decl::Int>("Depth").default_value(0).min(0).field_on_all().description(
"Number of levels of nested instances to realize for each top-level instance"); "Number of levels of nested instances to realize for each top-level instance");
b.add_output<decl::Geometry>("Geometry").propagate_all(); b.add_output<decl::Geometry>("Geometry").propagate_all();