[Bf-blender-cvs] [54827bb7cd8] master: Cleanup: shadow warning

Campbell Barton noreply at git.blender.org
Wed Aug 17 04:58:28 CEST 2022


Commit: 54827bb7cd8bd060a9588b5b0e01eec887c6a971
Author: Campbell Barton
Date:   Wed Aug 17 12:57:17 2022 +1000
Branches: master
https://developer.blender.org/rB54827bb7cd8bd060a9588b5b0e01eec887c6a971

Cleanup: shadow warning

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

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

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

diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c
index c98e493ca4a..8b9776cf94d 100644
--- a/source/blender/editors/sculpt_paint/sculpt_uv.c
+++ b/source/blender/editors/sculpt_paint/sculpt_uv.c
@@ -582,7 +582,6 @@ static void uv_sculpt_stroke_apply(bContext *C,
         copy_v2_v2(luv->uv, sculptdata->uv[uvindex].uv);
       }
     }
-    SpaceImage *sima = CTX_wm_space_image(C);
     if (sima->flag & SI_LIVE_UNWRAP) {
       ED_uvedit_live_unwrap_re_solve();
     }



More information about the Bf-blender-cvs mailing list