From a912afd202ecfdd0b459d85fba18280c38b0062f Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 10 Dec 2011 14:45:30 +0000 Subject: Fix #29516: Twist brush giving crazy results - Rotation now happens around initial stroke location rather than around scene origin - Added slider for rotation strength which helps in cases only few rotation is needed to be to increase the precision of such strokes --- source/blender/blenloader/intern/readfile.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/blender/blenloader') diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 13e2ed49e6a..1ada2448d86 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -12655,6 +12655,16 @@ static void do_versions(FileData *fd, Library *lib, Main *main) } } + if (main->versionfile < 260 || (main->versionfile == 260 && main->subversionfile < 8)) + { + Brush *brush; + + for (brush= main->brush.first; brush; brush= brush->id.next) { + if (brush->sculpt_tool == SCULPT_TOOL_ROTATE) + brush->alpha= 1.0f; + } + } + /* put compatibility code here until next subversion bump */ { /* nothing! */ -- cgit v1.2.3