Skip to content

Commit b721718

Browse files
committed
all for decimals in frame rate
1 parent 65b5aab commit b721718

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/Change Nested Composition Frame Rate.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @name Change Nested Composition Frame Rate
3-
* @version 1.1
3+
* @version 1.2
44
* @author Kyle Martinez <www.kyle-martinez.com>
55
*
66
* @description Change the composition and all layers to the given frame rate. All nested precomps
@@ -31,7 +31,7 @@
3131
app.beginUndoGroup("Change Nested Composition Frame Rate");
3232
var newFrameRateString = prompt("New Frame Rate (Frames)", "");
3333
if (newFrameRateString !== null && newFrameRateString.length > 0) {
34-
var frameRateInt = parseInt(newFrameRateString);
34+
var frameRateInt = parseFloat(newFrameRateString);
3535
if (isNaN(frameRateInt) === false) {
3636
var comp = app.project.activeItem;
3737
changeCompFrameRate(comp, frameRateInt);

0 commit comments

Comments
 (0)