Recent check for navigation missed NULL check

This commit is contained in:
2017-10-10 02:43:56 +11:00
parent e9d06f0866
commit caba67c2fa

View File

@@ -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;
}