diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-24 18:47:29 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-25 01:24:17 +0300 |
commit | 78e3a7b3532ef9c196eff6e2691346acc64e4954 (patch) | |
tree | b54adbcdc808371b8727861485bc7bacfbdb930b /source/blender | |
parent | 5d9d32fd1fa3aef6aa207246184aa2c617478faf (diff) |
Cleanup: fix compiler warning
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 5436c5912bc..f7dfd390f75 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -4306,6 +4306,7 @@ static void project_paint_prepare_all_faces(ProjPaintState *ps, * It's less trouble to set all faces to valid UV's, * avoiding NULL checks all over. */ skip_tri = true; + tpage = NULL; } else { tpage = slot->ima; |