Merging r39486 through r39651 from trunk into vgroup_modifiers.
[blender.git] / source / blender / blenloader / intern / readfile.c
index 4c024c9ee20113afbfda2517a75fb19275edda0a..167050cf0e20e5a86a3fbbb812bdd571a2272589 100644 (file)
@@ -11677,8 +11677,8 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                        Tex *tex;
                        for(tex= main->tex.first; tex; tex= tex->id.next) {
                                if(tex->pd) {
-                                       if (tex->pd->falloff_speed_scale == 0.0)
-                                               tex->pd->falloff_speed_scale = 100.0;
+                                       if (tex->pd->falloff_speed_scale == 0.0f)
+                                               tex->pd->falloff_speed_scale = 100.0f;
 
                                        if (!tex->pd->falloff_curve) {
                                                tex->pd->falloff_curve = curvemapping_add(1, 0, 0, 1, 1);