522f9c9834
There was one functional issue with the previous API which was its use in `VolumeGrid<T>::grid_for_write(tree_token)`. The issue was that the tree token had to be received before the grid is accessed. However, this `grid_for_write` method might create a copy of the `VolumeGridData` internally and if it does, the passed in `tree_token` corresponds to the wrong tree. The solution is to output the token as part of the method. This has two additional benefits: * The API is more safe, because one can't pass an r-value into the methods anymore. This generally shouldn't be done, because the token should live at least as long as the OpenVDB tree is used and shouldn't be freed immediatly. * The API is a bit simpler, because it's not necessary to call the `VolumeGrid.tree_access_token()` method anymore. |
||
---|---|---|
.gitea | ||
.github | ||
build_files | ||
doc | ||
extern | ||
intern | ||
locale | ||
release | ||
scripts | ||
source | ||
tests | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.editorconfig | ||
.git-blame-ignore-revs | ||
.gitignore | ||
AUTHORS | ||
CMakeLists.txt | ||
COPYING | ||
GNUmakefile | ||
make.bat | ||
pyproject.toml | ||
README.md |
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.