Skip to content

Commit

Permalink
Fix resolving key path for matte layers
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Dorokhov committed Aug 30, 2024
1 parent a1fb304 commit 16bfc7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ public void resolveKeyPath(
accumulator.add(matteCurrentPartialKeyPath.resolve(matteLayer));
}

if (keyPath.propagateToChildren(getName(), depth)) {
if (keyPath.matches(matteLayer.getName(), depth) && keyPath.propagateToChildren(getName(), depth)) {
int newDepth = depth + keyPath.incrementDepthBy(matteLayer.getName(), depth);
matteLayer.resolveChildKeyPath(keyPath, newDepth, accumulator, matteCurrentPartialKeyPath);
}
Expand Down

0 comments on commit 16bfc7f

Please sign in to comment.