[Bf-blender-cvs] [5d6e7df4a8b] master: GHOST: initialize grab axis for windows
Campbell Barton
noreply at git.blender.org
Thu Jul 7 13:46:16 CEST 2022
Commit: 5d6e7df4a8b70aa98d86655b024a87ca3319c6be
Author: Campbell Barton
Date: Thu Jul 7 21:42:05 2022 +1000
Branches: master
https://developer.blender.org/rB5d6e7df4a8b70aa98d86655b024a87ca3319c6be
GHOST: initialize grab axis for windows
While this didn't cause any user visible bugs, ASAN would report
an error when passing it as an argument.
===================================================================
M intern/ghost/intern/GHOST_Window.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_Window.cpp b/intern/ghost/intern/GHOST_Window.cpp
index be5d593c401..db4d6c3bb71 100644
--- a/intern/ghost/intern/GHOST_Window.cpp
+++ b/intern/ghost/intern/GHOST_Window.cpp
@@ -23,6 +23,7 @@ GHOST_Window::GHOST_Window(uint32_t width,
: m_drawingContextType(GHOST_kDrawingContextTypeNone),
m_cursorVisible(true),
m_cursorGrab(GHOST_kGrabDisable),
+ m_cursorGrabAxis(GHOST_kAxisNone),
m_cursorShape(GHOST_kStandardCursorDefault),
m_wantStereoVisual(wantStereoVisual),
m_context(new GHOST_ContextNone(false))
More information about the Bf-blender-cvs
mailing list