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.
Showing only changes of commit 1bbee2c131 - Show all commits

View File

@ -49,7 +49,6 @@ static void node_geo_exec(GeoNodeExecParams params)
evaluator.evaluate(); evaluator.evaluate();
const VArray<int> depths = evaluator.get_evaluated<int>(0); const VArray<int> depths = evaluator.get_evaluated<int>(0);
const IndexMask selection = evaluator.get_evaluated_selection_as_mask(); const IndexMask selection = evaluator.get_evaluated_selection_as_mask();
// bke::AnonymousAttributePropagationInfo propagation_info = params.get_output_propagation_info("Geometry");
geometry::RealizeInstancesOptions options; geometry::RealizeInstancesOptions options;
options.keep_original_ids = false; options.keep_original_ids = false;
@ -59,7 +58,6 @@ static void node_geo_exec(GeoNodeExecParams params)
options.selection = selection; options.selection = selection;
geometry_set = geometry::realize_instances(geometry_set, options); geometry_set = geometry::realize_instances(geometry_set, options);
// geometry_set = geometry::realize_instances(geometry_set, {selection, depths, propagation_info});
params.set_output("Geometry", std::move(geometry_set)); params.set_output("Geometry", std::move(geometry_set));
} }