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.realize_instance_attributes = false;
|
||||
options.propagation_info = propagation_info;
|
||||
options.depths = VArray<int>::ForSingle( 0, instances.get()->instances_num());
|
||||
options.depths = VArray<int>::ForSingle( 99, instances.get()->instances_num());
|
||||
IndexMaskMemory memory;
|
||||
options.selection = IndexMask::from_bools(VArray<bool>::ForSingle(true, instances.get()->instances_num()), memory);
|
||||
GeometrySet joined_components = realize_instances(
|
||||
|
@ -22,7 +22,7 @@ static void node_declare(NodeDeclarationBuilder &b)
|
||||
.supports_field()
|
||||
.description(("Which top-level instances to realize"));
|
||||
b.add_input<decl::Int>("Depth")
|
||||
.default_value(0)
|
||||
.default_value(99)
|
||||
.min(0)
|
||||
.supports_field()
|
||||
.description(
|
||||
|
Loading…
Reference in New Issue
Block a user