mistake in recent commit, set all axis values.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 14 Jul 2010 20:19:53 +0000 (20:19 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 14 Jul 2010 20:19:53 +0000 (20:19 +0000)
source/blender/editors/sculpt_paint/paint_stroke.c

index e373a254c3e4dae98de06aa8389de59d27fb140d..7b8d7c4b7ef505428963ae8126b4b98fbec91e82 100644 (file)
@@ -243,8 +243,8 @@ static void make_snap(Snapshot* snap, Brush* brush, ViewContext* vc)
        }
        else {
                snap->brush_map_mode = -1;
-               snap->ofs[0]= snap->ofs[0]= snap->ofs[0]= -1;
-               snap->size[0]= snap->size[0]= snap->size[0]= -1;
+               snap->ofs[0]= snap->ofs[1]= snap->ofs[2]= -1;
+               snap->size[0]= snap->size[1]= snap->size[2]= -1;
                snap->rot = -1;
        }