resolve glitch in the image space where mask editing and UVs would conflict.
[blender.git] / source / blender / editors / screen / screen_ops.c
index a431ea7ea03d5ad59dec72ac6caa801373c441f1..36353c43cbd69fa8a397cce6b163f4532831ae4a 100644 (file)
@@ -476,7 +476,8 @@ int ED_operator_mask(bContext *C)
                        case SPACE_IMAGE:
                        {
                                SpaceImage *sima = sa->spacedata.first;
-                               return ED_space_image_check_show_maskedit(sima);
+                               Scene *scene = CTX_data_scene(C);
+                               return ED_space_image_check_show_maskedit(scene, sima);
                        }
                }
        }