Skip to content

Commit

Permalink
Fix invert selection on a subset
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianThijssen committed Nov 20, 2024
1 parent af4c7b2 commit 15ea0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ManiVault/src/plugins/PointData/src/PointData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ void Points::selectInvert()

std::set<std::uint32_t> selectionSet(selection->indices.begin(), selection->indices.end());

const auto numberOfPoints = getNumPoints();
const auto numberOfPoints = getFullDataset<Points>()->getNumPoints();

selectionIndices.reserve(numberOfPoints - selectionSet.size());

Expand Down

0 comments on commit 15ea0ad

Please sign in to comment.