replace IS_EQ -> IS_EQF for use with floats.
[blender.git] / source / blender / blenloader / intern / versioning_250.c
index 80e34f0fce4202e6441165a0f0feb7b948bb81fd..62e3955ca6042b43fbb07579c6add90363c014ed 100644 (file)
@@ -2323,7 +2323,7 @@ void blo_do_versions_250(FileData *fd, Library *lib, Main *main)
                        KeyBlock *kb;
 
                        for (kb = key->block.first; kb; kb = kb->next) {
-                               if (IS_EQF(kb->slidermin, kb->slidermax) && IS_EQ(kb->slidermax, 0))
+                               if (IS_EQF(kb->slidermin, kb->slidermax) && IS_EQF(kb->slidermax, 0.0f))
                                        kb->slidermax = kb->slidermin + 1.0f;
                        }
                }