Skip to content

Commit

Permalink
Fix bug with Add mask mode
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumechereau committed Jun 28, 2024
1 parent 05b7a08 commit 4b13fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/rect_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static void apply(const float rect_[4])
if (goxel.mask_mode == MODE_SUB)
memset(color, 0, sizeof(color));

if (goxel.mask_mode == MODE_REPLACE || goxel.mask_mode == 0)
if (goxel.mask_mode == MODE_REPLACE)
volume_clear(goxel.mask);

// XXX: very slow implementation!
Expand Down

0 comments on commit 4b13fdf

Please sign in to comment.