Recent check for navigation missed NULL check
This commit is contained in:
parent
e9d06f0866
commit
caba67c2fa
Notes:
blender-bot
2023-02-14 06:28:57 +01:00
Referenced by issue #53035, Switching to "Paint" closes Blender
|
@ -1003,7 +1003,7 @@ static void paint_draw_cursor(bContext *C, int x, int y, void *UNUSED(unused))
|
|||
* mouse over too, not just during a stroke */
|
||||
view3d_set_viewcontext(C, &vc);
|
||||
|
||||
if (vc.rv3d->rflag & RV3D_NAVIGATING) {
|
||||
if (vc.rv3d && (vc.rv3d->rflag & RV3D_NAVIGATING)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue