diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-31 11:25:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-31 11:29:09 +0300 |
commit | 1f0d63b9a1e3d11885a8acf8e55b36e3f7fb737b (patch) | |
tree | 71994a8e443feca471aceb56c12dce53ee0cf114 /source/blender/makesrna/intern/rna_sculpt_paint.c | |
parent | 8e00db42961297facd521139762fe8c42042fc5c (diff) |
Cleanup: remove unnecessary obedit argument from ED_space_image_set
This was left over from when changing the image set the faces texture.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 81acedb76f2..1da08448c5b 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -507,7 +507,6 @@ static void rna_ImaPaint_canvas_update(bContext *C, PointerRNA *UNUSED(ptr)) Scene *scene = CTX_data_scene(C); ViewLayer *view_layer = CTX_data_view_layer(C); Object *ob = OBACT(view_layer); - Object *obedit = OBEDIT_FROM_OBACT(ob); bScreen *screen; Image *ima = scene->toolsettings->imapaint.canvas; @@ -520,7 +519,7 @@ static void rna_ImaPaint_canvas_update(bContext *C, PointerRNA *UNUSED(ptr)) SpaceImage *sima = (SpaceImage *)slink; if (!sima->pin) { - ED_space_image_set(bmain, sima, obedit, ima, true); + ED_space_image_set(bmain, sima, ima, true); } } } |