Go to file
Philipp Oeser 5ba581bd0a Fix #119523: Missing driver bone target doesn't mark driver as invalid
If a bone was specified (but now missing), the driver would fallback to
using the object as a target (which can lead to unintended behavior).

So now check if a bone is specified, if it is missing, mark the driver
invalid. If no bone is specified at all, then use the armature object as
the target.

NOTE: `DTAR_FLAG_INVALID` is not granular enough to distinguish the
object and bone targets, so both will be marked in red in the UI (there
is already comments about it in code). If necessary, we could introduce
an additional DTAR_FLAG_BONE_INVALID and use that in a couple of places.

Pull Request: https://projects.blender.org/blender/blender/pulls/119533
2024-03-18 12:48:43 +01: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 Merge branch 'blender-v4.1-release' 2024-03-15 21:13:19 +01:00
doc Fix: Invalid RST bpy.utils.register_cli_command formatting 2024-03-15 13:31:01 +11:00
extern Extern: Update TinyGLTF to version 2.8.21 2024-03-12 17:02:10 +01:00
intern Merge branch 'blender-v4.1-release' 2024-03-18 11:00:49 +01:00
lib Merge branch 'blender-v4.1-release' 2024-03-16 19:45:51 +01:00
locale I18N: Updated UI translations from git/weblate (efe372a7b46cf). 2024-03-12 15:09:03 +09:00
release Add Khronos PBR Neutral tone mapper 2024-03-18 12:16:53 +01:00
scripts Add Khronos PBR Neutral tone mapper 2024-03-18 12:16:53 +01:00
source Fix #119523: Missing driver bone target doesn't mark driver as invalid 2024-03-18 12:48:43 +01:00
tests Cleanup: Tests: update message to refer to git instead of svn 2024-03-17 09:47:40 +01:00
tools Cleanup: add "unreachable" message to "assert False" statements 2024-03-15 13:20:11 +11:00
.clang-format Clang-Format: Ensure single new line at the end of files 2024-02-22 14:42:10 +01:00
.clang-tidy
.editorconfig editorconfig: add HTML entry 2023-12-08 13:28:13 +11:00
.git-blame-ignore-revs
.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 Cleanup: Centralize MSVC conformance related cmake items 2024-03-09 23:42:20 +01:00
COPYING
GNUmakefile Merge branch 'blender-v4.1-release' into main 2024-02-22 15:12:40 +01: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.