Fix: Sort Elements node breaks curves sculpt
Since the node effectively changes the topology of the curves, the deformed positions from before the node must be saved. Pull Request: https://projects.blender.org/blender/blender/pulls/117109
This commit is contained in:
committed by
Hans Goudey
parent
70d28257e7
commit
4effcd33a3
@@ -209,6 +209,7 @@ static void node_geo_exec(GeoNodeExecParams params)
|
||||
std::atomic<bool> has_reorder = false;
|
||||
std::atomic<bool> has_unsupported = false;
|
||||
geometry_set.modify_geometry_sets([&](GeometrySet &geometry_set) {
|
||||
GeometryComponentEditData::remember_deformed_positions_if_necessary(geometry_set);
|
||||
for (const auto [type, domains] : geometry::components_supported_reordering().items()) {
|
||||
const bke::GeometryComponent *src_component = geometry_set.get_component(type);
|
||||
if (src_component == nullptr || src_component->is_empty()) {
|
||||
|
||||
Reference in New Issue
Block a user