Skip to content

Commit

Permalink
SVGLoader: properly handle missing y-value in translate transform (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrkv authored Aug 2, 2022
1 parent a907060 commit ffd5c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/loaders/SVGLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ class SVGLoader extends Loader {
if ( array.length >= 1 ) {

const tx = array[ 0 ];
let ty = tx;
let ty = 0;

if ( array.length >= 2 ) {

Expand Down

0 comments on commit ffd5c6b

Please sign in to comment.