Page MenuHome

Fix T98500: Wrong selection in Duplicate Points
ClosedPublic

Authored by Johnny Matthews (guitargeek) on May 30 2022, 8:37 PM.

Details

Summary

Wasn't passing the selection deep enough into the copy functions. This seems like a change that will need some testing that it doesn't screw things up.

T98500

Diff Detail

Repository
rB Blender
Branch
fix_selection (branched from master)
Build Status
Buildable 22331
Build 22331: arc lint + arc unit

Event Timeline

Johnny Matthews (guitargeek) requested review of this revision.May 30 2022, 8:37 PM
Johnny Matthews (guitargeek) created this revision.

This looks correct to me. Easy to miss something like this when there are so many cases to test.

source/blender/nodes/geometry/nodes/node_geo_duplicate_elements.cc
100

Might it make sense to assert that selection.size() == offsets.size()?

This revision is now accepted and ready to land.May 30 2022, 9:22 PM

Change to commit against 3.2 master

source/blender/nodes/geometry/nodes/node_geo_duplicate_elements.cc
361–389

In the 3.2 branch we should probably avoid doing this renaming

Johnny Matthews (guitargeek) marked 2 inline comments as done.
  • put variable names back to 3.2 versions