Commit: 78e3a7b3532ef9c196eff6e2691346acc64e4954
Author: Brecht Van Lommel
Date:   Wed Apr 24 17:47:29 2019 +0200
Branches: master
https://developer.blender.org/rB78e3a7b3532ef9c196eff6e2691346acc64e4954

Cleanup: fix compiler warning

===================================================================

M       source/blender/editors/sculpt_paint/paint_image_proj.c

===================================================================

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;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to