blender/release
Campbell Barton 0e51defcf4 Fix T95591: Crash on drawing with measure tool with tweak fallback tool
Using press to activate the Tweak tool doesn't work well when used a
fallback tool as the drag event is often used by the current tool -
making it impossible not to select when dragging (unless the fallback
tool is disabled entirely).
Resolve this by using CLICK events when the Tweak tool is used as a
fallback.

Even though this avoids the crash, check for null-pointer de-reference
since changes to the key-map shouldn't cause operators to crash.

Note that the ability for operators to access a gizmo before it's fully
initialized is a more general problem that should be addressed, but out
of scope for a bug-fix.

Reviewed By: zeddb, JulienKaspar, Severin

Maniphest Tasks: T95591

Ref D14231
2022-03-07 21:47:00 +11:00
..
bin Thumbnails: refactor extraction to use one code-path for all platforms 2021-10-20 10:31:30 +11:00
darwin Info.plist: Bump LSMinimumSystemVersion to silence warning 2022-01-14 19:33:06 +05:30
datafiles Fix T95368: wrong white point adaptation for Linear ACES color space 2022-02-17 19:51:43 +01:00
freedesktop Merge remote-tracking branch 'origin/blender-v3.0-release' 2021-12-02 19:37:01 +01:00
license Licenses: Attribution document for Blender 3.0 2021-12-02 19:35:01 +01:00
lts cleanup: fix typos in comments and docs 2021-11-16 18:45:10 -05:00
scripts Fix T95591: Crash on drawing with measure tool with tweak fallback tool 2022-03-07 21:47:00 +11:00
text Move license files to license subfolder 2020-09-24 12:49:36 +02:00
windows Fix missing Blender logo in Windows store package 2021-12-02 16:35:24 +01:00