diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-04-17 15:16:53 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-04-17 15:16:53 +0400 |
commit | adfa7c8afac3901d3310639f700e4fe9954b824b (patch) | |
tree | 660b2a4925c1af11389d1279c3d0186a44a316d1 /source | |
parent | 14f9f167b2686a92883b754d111adbb5efec2515 (diff) |
Don't use auto vectorization for MinGW-w64. It may be a source for
trouble. Also fixed a few harmless warnings.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_cursor.c | 3 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c index abc16c6973c..7525085fd53 100644 --- a/source/blender/editors/sculpt_paint/paint_cursor.c +++ b/source/blender/editors/sculpt_paint/paint_cursor.c @@ -472,7 +472,8 @@ static void paint_draw_alpha_overlay(UnifiedPaintSettings *ups, Brush *brush, quad.xmax = BLI_rcti_size_x(&vc->ar->winrct); quad.ymax = BLI_rcti_size_y(&vc->ar->winrct); } - else if (brush->mtex.brush_map_mode == MTEX_MAP_MODE_STENCIL) { + /* Stencil code goes here */ + else { quad.xmin = -brush->stencil_dimension[0]; quad.ymin = -brush->stencil_dimension[1]; quad.xmax = brush->stencil_dimension[0]; diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 0e44230b326..747fae93ace 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -2412,8 +2412,8 @@ static void createTransUVs(bContext *C, TransInfo *t) BMFace *efa; BMLoop *l; BMIter iter, liter; - UvElementMap *elementmap; - char *island_enabled; + UvElementMap *elementmap = NULL; + char *island_enabled = NULL; int count = 0, countsel = 0, count_rejected = 0; int propmode = t->flag & T_PROP_EDIT; int propconnected = t->flag & T_PROP_CONNECTED; |