Go to file
Jacques Lucke 522f9c9834 Volumes: improve tree access token api
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.
2024-01-10 15:20:29 +01:00
.gitea Docs: Add button to report python API documentation issue 2023-12-07 22:06:07 +01:00
.github Docs: change Git URLs to point projects.blender.org instead of git.blender.org 2023-02-07 14:23:05 +01:00
build_files Tests: Improve the sanitizer options handling. 2024-01-09 14:26:36 +01:00
doc PyAPI: support returning non ID types when accessing Context.property 2024-01-10 23:43:29 +11:00
extern Audaspace: faster audio resampling 2024-01-03 21:23:24 +01:00
intern Volumes: improve tree access token api 2024-01-10 15:20:29 +01:00
locale I18N: Updated UI translations from git/weblate repo (bd340604b). 2024-01-08 12:19:45 +01:00
release UI: Updated Auto Keying Button Icon 2024-01-08 23:16:56 +01:00
scripts Curves: Add "As NURBS" option to draw tool 2024-01-10 13:59:59 +01:00
source Volumes: improve tree access token api 2024-01-10 15:20:29 +01:00
tests Drivers: implement fallback values for RNA path based variables. 2024-01-08 15:24:59 +01:00
tools Sanitizer: Add more suppressions to our list. 2024-01-09 14:26:35 +01:00
.clang-format clang-format: set BraceWrapping::AfterControlStatement to "MultiLine" 2023-05-02 09:37:08 +10:00
.clang-tidy Clang-tidy: Ignore variable name length and .c/.cc include warnings 2022-05-06 15:26:54 +02:00
.editorconfig editorconfig: add HTML entry 2023-12-08 13:28:13 +11:00
.git-blame-ignore-revs Cleanup: add commit to .git-blame-ignore-revs 2023-05-03 20:31:11 +10:00
.gitignore Ignore build files for VS and VS Code 2023-03-07 17:38:34 +01:00
AUTHORS AUTHORS: add 3 new developers 2023-11-02 16:09:11 +11:00
CMakeLists.txt PyAPI: drop support for Python 3.10 2024-01-09 22:23:41 +11:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile PyAPI: drop support for Python 3.10 2024-01-09 22:23:41 +11:00
make.bat Windows: Propagate errors in make.bat 2023-08-16 19:29:47 +02:00
pyproject.toml pyproject: remove tools/pyproject.toml 2023-03-01 22:18:28 +11:00
README.md Update references to the new projects platform and main branch 2023-02-07 14:18:19 +01:00

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.

Blender screenshot

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.