Fix #119534: Action Editor empty channels region without active action #119621

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:119534 into blender-v4.1-release 2024-03-19 14:05:54 +01:00

1 Commits

Author SHA1 Message Date
Philipp Oeser cacf82a477 Fix #119534: Action Editor empty channels region without active action
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
Caused by a96f1208cc

For `SPACE_ACTION` (`SACTCONT_ACTION`), `actedit_get_context` will
return true, but `ANIM_animdata_context_getdata` also checks the
`bAnimContext` data [which in this case is the action], so will **not**
return true.

As a result we are skipping drawing the background and the search, which
is now done again.
2024-03-18 12:10:34 +01:00