Skip to content

Commit

Permalink
Fix EQ parameters do not load from presets
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatherly committed Dec 8, 2023
1 parent ecbf72a commit cfc8f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qml/modules/Shotcut/Controls/KeyframableFilter.qml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Item {
function initializeSimpleKeyframes() {
for (var i in keyframableParameters) {
var parameter = keyframableParameters[i];
if (metadata.keyframes.parameter(parameter).isColor) {
var keyMeta = metadata.keyframes.parameter(parameter);
if (keyMeta && keyMeta.isColor) {
middleValues[i] = filter.getColor(parameter, filter.animateIn);
if (filter.animateIn > 0)
startValues[i] = filter.getColor(parameter, 0);
Expand Down

0 comments on commit cfc8f64

Please sign in to comment.