Go to file
Jesse Yurkovich 94b1d21e9e Fix: Use correct datatype for the USD uvmap varname
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
2024-05-15 02:14:35 +02:00
.gitea Docs: Replace most wiki links with links to new developer docs 2024-01-18 16:49:38 +01:00
.github Docs: Replace most wiki links with links to new developer docs 2024-01-18 16:49:38 +01:00
build_files CMake: Fix ASAN builds on windows 2024-05-07 12:19:20 -06:00
doc Cleanup: replace %-formatting with str.format in doc/ 2024-04-27 16:06:50 +10:00
extern Audaspace: porting bugfixes for CoreAudioDevice from upstream. 2024-05-06 08:28:20 +02:00
intern Compositor: Make GPU compositor an official feature 2024-05-14 15:49:20 +02:00
lib Windows: Update ARM64 submodule to include .pyd files 2024-05-01 10:30:15 +02:00
locale I18N: Updated UI translations from git/weblate repository (0f22b707beed2d8). 2024-05-06 12:46:09 +02:00
release Sculpt: Polyline hide operator 2024-04-29 14:04:16 +02:00
scripts Sculpt: Add customizable increment for line tool snapping 2024-05-14 19:00:58 +02:00
source Fix: Use correct datatype for the USD uvmap varname 2024-05-15 02:14:35 +02:00
tests Compositor: Explicitly set device in test scripts 2024-05-14 19:03:55 +03:00
tools Tools: make weekly report executable 2024-05-06 11:06:13 +10:00
.clang-format Clang-Format: Ensure single new line at the end of files 2024-02-22 14:42:10 +01: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 Switch SVN to Git submodules using Git-LFS 2024-02-22 13:50:55 +01:00
.gitmodules Windows: Add ARM64 lib submodule 2024-03-14 18:12:51 +01:00
AUTHORS AUTHORS: add 7 new developers 2024-03-07 14:07:39 +11:00
CMakeLists.txt CMake: differentiate between C/C++ compiler versions in errors 2024-04-26 21:36:59 +10:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile cppheck: improvements to checking script 2024-04-14 20:44:03 +10:00
make.bat Switch SVN to Git submodules using Git-LFS 2024-02-22 13:50:55 +01:00
pyproject.toml Black: skip string normalisation 2024-01-22 10:09:33 +01:00
README.md Docs: Replace most wiki links with links to new developer docs 2024-01-18 16:49:38 +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.