forked from blender/blender
davidhaver-WIP-realize-depth #3
@ -185,7 +185,7 @@ static void join_component_type(const bke::GeometryComponent::Type component_typ
|
|||||||
options.keep_original_ids = true;
|
options.keep_original_ids = true;
|
||||||
options.realize_instance_attributes = false;
|
options.realize_instance_attributes = false;
|
||||||
options.propagation_info = propagation_info;
|
options.propagation_info = propagation_info;
|
||||||
options.depths = VArray<int>::ForSingle(99, instances.get()->instances_num());
|
options.depths = VArray<int>::ForSingle(-1, instances.get()->instances_num());
|
||||||
IndexMaskMemory memory;
|
IndexMaskMemory memory;
|
||||||
options.selection = IndexMask::from_bools(
|
options.selection = IndexMask::from_bools(
|
||||||
VArray<bool>::ForSingle(true, instances.get()->instances_num()), memory);
|
VArray<bool>::ForSingle(true, instances.get()->instances_num()), memory);
|
||||||
|
@ -25,7 +25,7 @@ static void node_declare(NodeDeclarationBuilder &b)
|
|||||||
.default_value(true)
|
.default_value(true)
|
||||||
.supports_field()
|
.supports_field()
|
||||||
.description(("Determine wether to realize nested instances completly"));
|
.description(("Determine wether to realize nested instances completly"));
|
||||||
b.add_input<decl::Int>("Depth").default_value(99).min(0).supports_field().description(
|
b.add_input<decl::Int>("Depth").default_value(0).min(0).supports_field().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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user