Skip to content

Commit

Permalink
VOXEDIT: updated todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy committed Feb 22, 2025
1 parent d27c878 commit 177fb10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tools/voxedit/modules/voxedit-util/modifier/Modifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ voxel::RawVolumeWrapper Modifier::createRawVolumeWrapper(voxel::RawVolume *volum
voxel::Region region = volume->region();
if (_selectionManager.hasSelection()) {
// TODO: SELECTION: this doesn't work anymore after the refactoring because
// the selection is no longer a region - and to be honest this doesn't even
// work now because if you have two regions selected... **BOOM**
// the selection is no longer a region
voxel::Region srcRegion = _selectionManager.region();
srcRegion.cropTo(region);
return voxel::RawVolumeWrapper(volume, srcRegion);
Expand Down

0 comments on commit 177fb10

Please sign in to comment.