We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65b5aab commit b721718Copy full SHA for b721718
scripts/Change Nested Composition Frame Rate.jsx
@@ -1,6 +1,6 @@
1
/**
2
* @name Change Nested Composition Frame Rate
3
- * @version 1.1
+ * @version 1.2
4
* @author Kyle Martinez <www.kyle-martinez.com>
5
*
6
* @description Change the composition and all layers to the given frame rate. All nested precomps
@@ -31,7 +31,7 @@
31
app.beginUndoGroup("Change Nested Composition Frame Rate");
32
var newFrameRateString = prompt("New Frame Rate (Frames)", "");
33
if (newFrameRateString !== null && newFrameRateString.length > 0) {
34
- var frameRateInt = parseInt(newFrameRateString);
+ var frameRateInt = parseFloat(newFrameRateString);
35
if (isNaN(frameRateInt) === false) {
36
var comp = app.project.activeItem;
37
changeCompFrameRate(comp, frameRateInt);
0 commit comments