Merge branch 'master' into blender2.8
[blender.git] / source / blender / alembic / intern / alembic_capi.cc
index b457b38b9fd45f7f3a23beb53d388420f65ebd7c..cee571b9e412fe264392b1b74ef9be10d94046d5 100644 (file)
@@ -734,8 +734,8 @@ static void import_startjob(void *user_data, short *stop, short *do_update, floa
                        CFRA = SFRA;
                }
                else if (min_time < max_time) {
-                       SFRA = static_cast<int>(min_time * FPS);
-                       EFRA = static_cast<int>(max_time * FPS);
+                       SFRA = static_cast<int>(round(min_time * FPS));
+                       EFRA = static_cast<int>(round(max_time * FPS));
                        CFRA = SFRA;
                }
        }