Skip to content

Commit

Permalink
Merge pull request #3040 from lottielab/perf/localmatmdf-not-reset
Browse files Browse the repository at this point in the history
Ensure `_localMatMdf` is reset to `false`
  • Loading branch information
AliT3 authored Mar 19, 2024
2 parents 63a39ae + 4b2e1ae commit e53f078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/js/elements/helpers/TransformElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ TransformElement.prototype = {
}
}
}
if (this.finalTransform._matMdf) {
if (!this.localTransforms || this.finalTransform._matMdf) {
this.finalTransform._localMatMdf = this.finalTransform._matMdf;
}
if (this.finalTransform._opMdf) {
Expand Down

0 comments on commit e53f078

Please sign in to comment.