82a37e143f01ba3ad564eb321156d8d52bb78c47
Failure to refresh the highlighted gizmo meant that clicking on a highlighted gizmo would attempt to activate it even though it's poll function failed - which crashed in this case. Resolve the common-case by ensuring a call to refresh the gizmo-map causes the event system to re-evaluate the highlighted gizmo, even if the cursor doesn't move. Since it's still possible the call to "refresh" the gizmo is missed, gizmo_tweak_invoke now checks the gizmo-groups poll succeeds with an assert and early return if it doesn't. This would have prevented the crash although the highlighted-gizmo still won't be reset - causing the cursor to display as if it's over a gizmo until it's moved.
…
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.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
