فهرست منبع

SVGLoader: properly handle missing y-value in translate transform (#24395)

Victor Nakoryakov 3 سال پیش
والد
کامیت
ffd5c6bdeb
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      examples/jsm/loaders/SVGLoader.js

+ 1 - 1
examples/jsm/loaders/SVGLoader.js

@@ -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 ) {