Correct T82753 Fix from 979fe4f1be

This commit is contained in:
Campbell Barton 2020-11-16 18:27:11 +11:00
parent 979fe4f1be
commit 8fd27c152a
1 changed files with 3 additions and 1 deletions

View File

@ -884,7 +884,9 @@ static void view3d_interactive_add_exit(bContext *C, wmOperator *op)
{
wmGizmoGroup *gzgroup = idp_gizmogroup_from_region(ipd->region);
if (gzgroup != NULL) {
preview_plane_cursor_visible_set(gzgroup, true);
if (gzgroup->customdata != NULL) {
preview_plane_cursor_visible_set(gzgroup, true);
}
}
}