Allow lower frame rates
This commit is contained in:
parent
5a6e8346a3
commit
13078e4a47
|
@ -24,7 +24,7 @@ DatExporter::DatExporter(const ShapeSet& targetShapeSet, double frameRate, bool
|
||||||
// Animation works with a fixed frame rate of 100.
|
// Animation works with a fixed frame rate of 100.
|
||||||
// Downsampling to much less than 25 fps may result in dropped frames.
|
// Downsampling to much less than 25 fps may result in dropped frames.
|
||||||
// Upsampling to more than 100 fps doesn't make sense.
|
// Upsampling to more than 100 fps doesn't make sense.
|
||||||
const double minFrameRate = 24.0;
|
const double minFrameRate = 10.0;
|
||||||
const double maxFrameRate = 100.0;
|
const double maxFrameRate = 100.0;
|
||||||
|
|
||||||
if (frameRate < minFrameRate || frameRate > maxFrameRate) {
|
if (frameRate < minFrameRate || frameRate > maxFrameRate) {
|
||||||
|
|
Loading…
Reference in New Issue