Merge branch 'master' into blender2.8
[blender.git] / source / blender / makesrna / intern / rna_space.c
index fca8e3a..eb57669 100644 (file)
@@ -857,7 +857,7 @@ static PointerRNA rna_SpaceImageEditor_uvedit_get(PointerRNA *ptr)
 
 static void rna_SpaceImageEditor_mode_update(Main *bmain, Scene *scene, PointerRNA *UNUSED(ptr))
 {
-       ED_space_image_paint_update(bmain->wm.first, scene);
+       ED_space_image_paint_update(bmain, bmain->wm.first, scene);
 }