Skip to content

Commit

Permalink
Merge pull request #4 from mamoworld/master
Browse files Browse the repository at this point in the history
layer.applyPreset acts on selected layers
  • Loading branch information
jthomascolombo committed Sep 16, 2021
2 parents bfb32d3 + 3826604 commit e4844bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/layers/layer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,13 @@ Layer.applyPreset()

**Description**

Applies the specified collection of animation settings (an animation preset) to the layer.
Applies the specified collection of animation settings (an animation preset) to all the currently selected layers of the comp to which the layer belongs. If no layer is selected, it applies the animation preset to a new solid layer.

Predefined animation preset files are installed in the Presets folder, and users can create new animation presets through the user interface.

.. warning::
The animation preset is applied to the the selected layer(s) of the comp, not to the layer whose applyPreset function is called. Hence, the layer whose applyPreset function is called effectively just determines the comp whose layers are processed.

**Parameters**

============== =======================================================
Expand Down

0 comments on commit e4844bf

Please sign in to comment.