Skip to content

Commit

Permalink
Minor update to makeSphereCode in documentation
Browse files Browse the repository at this point in the history
Example code was calling `Tree::signedFloodFill()`, this was replaced by `tools::signedFloodFill()` as of version 3.0.0
  • Loading branch information
dnkrtz authored Nov 17, 2016
1 parent 4a61f41 commit 63ec5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvdb/doc/examplecode.txt
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ makeSphere(GridType& grid, float radius, const openvdb::Vec3f& c)

// Propagate the outside/inside sign information from the narrow band
// throughout the grid.
grid.signedFloodFill();
openvdb::tools::signedFloodFill(grid.tree());
}
@endcode

Expand Down

0 comments on commit 63ec5f9

Please sign in to comment.