Created
January 12, 2021 14:36
-
-
Save bob-ross27/e9fb5f0fcd52b0da5ed498b3a2879522 to your computer and use it in GitHub Desktop.
Change the first selected node to 2's, presuming frame naming matches the default import values.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scene.beginUndoRedoAccum("Set Video on 2s"); | |
var col = node.linkedColumn(selection.selectedNode(0), "drawing.element"); | |
var keys = column.getDrawingTimings(col); | |
keys.forEach(function(key) { | |
if (parseInt(key) % 2 === 0) { | |
column.setEntry(col, 1, parseInt(key), parseInt(key) - 1); | |
} | |
}); | |
scene.endUndoRedoAccum(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment