Skip to content

Commit a7ca09b

Browse files
committed
More explicit deprecation message
Signed-off-by: Nick Avramoussis <[email protected]>
1 parent e55a602 commit a7ca09b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

openvdb/openvdb/tools/Morphology.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ inline void erodeActiveValues(TreeOrLeafManagerT& treeOrLeafM,
11921192
///
11931193
/// @note The values of any voxels are unchanged.
11941194
template<typename TreeType>
1195-
OPENVDB_DEPRECATED_MESSAGE("Switch to tools::dilateActiveValues with tools::IGNORE_TILES for matching dilation")
1195+
OPENVDB_DEPRECATED_MESSAGE("Switch to tools::dilateActiveValues. Use tools::IGNORE_TILES to maintain same (but perhaps unintended) behaviour")
11961196
inline void dilateVoxels(TreeType& tree,
11971197
int iterations = 1,
11981198
NearestNeighbors nn = NN_FACE)
@@ -1219,7 +1219,7 @@ inline void dilateVoxels(TreeType& tree,
12191219
///
12201220
/// @note The values of any voxels are unchanged.
12211221
template<typename TreeType>
1222-
OPENVDB_DEPRECATED_MESSAGE("Switch to tools::dilateActiveValues with tools::IGNORE_TILES for matching dilation")
1222+
OPENVDB_DEPRECATED_MESSAGE("Switch to tools::dilateActiveValues. Use tools::IGNORE_TILES to maintain same (but perhaps unintended) behaviour")
12231223
inline void dilateVoxels(tree::LeafManager<TreeType>& manager,
12241224
int iterations = 1,
12251225
NearestNeighbors nn = NN_FACE)
@@ -1237,7 +1237,7 @@ inline void dilateVoxels(tree::LeafManager<TreeType>& manager,
12371237
/// of any voxels, only their active states.
12381238
/// @todo Currently operates only on leaf voxels; need to extend to tiles.
12391239
template<typename TreeType>
1240-
OPENVDB_DEPRECATED_MESSAGE("Switch to tools::erodeActiveValues with tools::IGNORE_TILES for matching erosion")
1240+
OPENVDB_DEPRECATED_MESSAGE("Switch to tools::erodeActiveValues. Use tools::IGNORE_TILES to maintain same (but perhaps unintended) behaviour")
12411241
inline void erodeVoxels(TreeType& tree,
12421242
int iterations=1,
12431243
NearestNeighbors nn = NN_FACE)
@@ -1252,7 +1252,7 @@ inline void erodeVoxels(TreeType& tree,
12521252
}
12531253

12541254
template<typename TreeType>
1255-
OPENVDB_DEPRECATED_MESSAGE("Switch to tools::erodeActiveValues with tools::IGNORE_TILES for matching erosion")
1255+
OPENVDB_DEPRECATED_MESSAGE("Switch to tools::erodeActiveValues. Use tools::IGNORE_TILES to maintain same (but perhaps unintended) behaviour")
12561256
inline void erodeVoxels(tree::LeafManager<TreeType>& manager,
12571257
int iterations = 1,
12581258
NearestNeighbors nn = NN_FACE)

0 commit comments

Comments
 (0)