diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-03 02:26:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-03 02:26:00 +0400 |
commit | 3c1b5b56324377816063975bd5d245f9d321a59a (patch) | |
tree | 809b28d4be2dc096b7631837856876c0fe710604 /source/blender/editors/sculpt_paint | |
parent | 2ff9b5a7f57450ab0fd1d354c2d18fa10486f699 (diff) |
stule cleanup: edits for files which were recently cleaned up.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index 5cea8d11c09..18f3094fa31 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -531,7 +531,7 @@ static Image *imapaint_face_image(const ImagePaintState *s, int face_index) if (scene_use_new_shading_nodes(s->scene)) { MFace *mf = &s->dm_mface[face_index]; - ED_object_get_active_image(s->ob, mf->mat_nr+1, &ima, NULL, NULL); + ED_object_get_active_image(s->ob, mf->mat_nr + 1, &ima, NULL, NULL); } else { MTFace *tf = &s->dm_mtface[face_index]; @@ -547,7 +547,7 @@ static Image *project_paint_face_image(const ProjPaintState *ps, MTFace *dm_mtfa if (ps->do_new_shading_nodes) { /* cached scene_use_new_shading_nodes result */ MFace *mf = ps->dm_mface + face_index; - ED_object_get_active_image(ps->ob, mf->mat_nr+1, &ima, NULL, NULL); + ED_object_get_active_image(ps->ob, mf->mat_nr + 1, &ima, NULL, NULL); } else { ima = dm_mtface[face_index].tpage; |