94b1d21e9e
We were writing out the `inputs:varname` as a `token` instead of `string` which is incorrect according to the UsdPreviewSurface spec[1]. Apparently it changed with version 2.3[2]. This results in a validation failure in USD 24.05, and maybe 24.03, seen here: ``` Incorrect type for /root/_materials/Material/UV_Map.inputs:varname. Expected 'string'; got 'token'. (fails 'ShaderPropertyTypeConformanceChecker') Failed! ``` The fix is a 1-liner but I've changed the surrounding code to use `std::string` instead of `pxr::TfToken` to reinforce the concept. Our material reading code is unaffected and was already handling both tokens and strings. [1] https://openusd.org/release/spec_usdpreviewsurface.html#primvar-reader [2] https://openusd.org/release/spec_usdpreviewsurface.html#version-2-3 Pull Request: https://projects.blender.org/blender/blender/pulls/121668 |
||
---|---|---|
.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.