forked from blender/blender
davidhaver-WIP-realize-depth #3
@ -9,7 +9,7 @@
|
|||||||
#include "BLT_translation.hh"
|
#include "BLT_translation.hh"
|
||||||
|
|
||||||
#include "BKE_attribute.hh"
|
#include "BKE_attribute.hh"
|
||||||
#include "BKE_collection.h"
|
#include "BKE_collection.hh"
|
||||||
#include "BKE_curves.hh"
|
#include "BKE_curves.hh"
|
||||||
#include "BKE_geometry_set.hh"
|
#include "BKE_geometry_set.hh"
|
||||||
#include "BKE_geometry_set_instances.hh"
|
#include "BKE_geometry_set_instances.hh"
|
||||||
|
@ -974,7 +974,7 @@ static void execute_instances_tasks(
|
|||||||
}
|
}
|
||||||
result.replace_instances(dst_instances.release());
|
result.replace_instances(dst_instances.release());
|
||||||
auto &dst_component = result.get_component_for_write<bke::InstancesComponent>();
|
auto &dst_component = result.get_component_for_write<bke::InstancesComponent>();
|
||||||
join_attributes(src_components, dst_component, {"position"});
|
join_attributes(src_components, dst_component, {"position", ".reference_index"});
|
||||||
}
|
}
|
||||||
|
|
||||||
static void execute_realize_pointcloud_tasks(const RealizeInstancesOptions &options,
|
static void execute_realize_pointcloud_tasks(const RealizeInstancesOptions &options,
|
||||||
|
Loading…
Reference in New Issue
Block a user