davidhaver-WIP-realize-depth #3

Closed
David-Haver wants to merge 65 commits from David-Haver/blender-old:davidhaver-WIP-realize-depth into WIP-realize-depth

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 3ad10b8386 - Show all commits

View File

@ -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( 0, instances.get()->instances_num()); options.depths = VArray<int>::ForSingle( 99, instances.get()->instances_num());
IndexMaskMemory memory; IndexMaskMemory memory;
options.selection = IndexMask::from_bools(VArray<bool>::ForSingle(true, instances.get()->instances_num()), memory); options.selection = IndexMask::from_bools(VArray<bool>::ForSingle(true, instances.get()->instances_num()), memory);
GeometrySet joined_components = realize_instances( GeometrySet joined_components = realize_instances(

View File

@ -22,7 +22,7 @@ static void node_declare(NodeDeclarationBuilder &b)
.supports_field() .supports_field()
.description(("Which top-level instances to realize")); .description(("Which top-level instances to realize"));
b.add_input<decl::Int>("Depth") b.add_input<decl::Int>("Depth")
.default_value(0) .default_value(99)
.min(0) .min(0)
.supports_field() .supports_field()
.description( .description(