svn merge ^/trunk/blender -r42550:42564
[blender.git] / source / blender / blenloader / intern / readfile.c
index dffcd17f3a9e392b0e790965eb24004d12ef82a7..b6e548eb69c04a92af29f30e850bfcb6767f3beb 100644 (file)
@@ -12737,6 +12737,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! */