Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-24 18:47:29 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-25 01:24:17 +0300
commit78e3a7b3532ef9c196eff6e2691346acc64e4954 (patch)
treeb54adbcdc808371b8727861485bc7bacfbdb930b /source/blender/editors/sculpt_paint/paint_image_proj.c
parent5d9d32fd1fa3aef6aa207246184aa2c617478faf (diff)
Cleanup: fix compiler warning
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_proj.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c1
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;