The official Blender project repository.
Jacques Lucke
47c255e2da
Previously, the number of material slots on the geometry (e.g. mesh) was the ground truth. However, this had limitations in the case when the object had more material slots than the evaluated geometry. All extra slots on the object were ignored. This patch changes the definition so that the number of materials used for rendering is the maximum of the number of material slots on the geometry and on the object. This also implies that one always needs a reference to an object when determining that number, but that was fairly straight forward to achieve in current code. This patch also cleans up the material count handling a fair amount by using the `BKE_object_material_*_eval` API more consistently instead of manually accessing `totcol`. Cycles uses the the same API indirectly through RNA. Pull Request: #131761 |
||
---|---|---|
.gitea | ||
.github | ||
build_files | ||
doc | ||
extern | ||
intern | ||
lib | ||
locale | ||
release | ||
scripts | ||
source | ||
tests | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.editorconfig | ||
.git-blame-ignore-revs | ||
.gitignore | ||
.gitmodules | ||
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.