Skip to content

Commit 669b2ef

Browse files
committed
Update to Tree Iterator to work with Mask Grids
Signed-off-by: Dan Bailey <danbailey@ilm.com>
1 parent 679d57c commit 669b2ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openvdb/openvdb/tree/Iterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class IteratorBase
8383
/// @details If this iterator is pointing to a child node, then the current item
8484
/// in the parent node's table is required to be inactive. In that case,
8585
/// this method has no effect.
86-
void setValueOff() const { parent().mValueMask.setOff(this->pos()); }
86+
void setValueOff() const { parent().setValueMask(this->pos(), false); }
8787

8888
/// Return the coordinates of the item to which this iterator is pointing.
8989
Coord getCoord() const { return parent().offsetToGlobalCoord(this->pos()); }

0 commit comments

Comments
 (0)