Defined functions to set the duration of selected comps to a specific frame/second amount.

This commit is contained in:
2022-08-17 12:23:56 -07:00
parent 0da36d5249
commit 83116bd0af
2 changed files with 19 additions and 2 deletions
+2
View File
@@ -72,6 +72,7 @@ function setFPS( comp, newFPS ){
comp.frameDuration = 1/newFPS;
};
function setDuration( myComp, newSecondsDuration ){
myComp.duration = newSecondsDuration;
};
function setDurationInFrames( myComp, newFrameDuration ){
//myComp.
@@ -99,6 +100,7 @@ function resizeCompCanvasCentered( my_comp, new_size, keep_scaler ){
//get rid of scaling null or not.
if (keep_scaler)
{
n.name = 'MAIN_SCALER';
}else{