Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-12-10 18:45:30 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-12-10 18:45:30 +0400
commita912afd202ecfdd0b459d85fba18280c38b0062f (patch)
tree246fb8565e354ea94d9f4a7ac7ff0494f3bf5bd7 /source/blender/blenloader
parente9a0a42dd3493c1a4456696cc6912b34a8548b25 (diff)
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
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c10
1 files changed, 10 insertions, 0 deletions
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! */