Browse Source

Editor: set filename for svg (#28340)

林炳权 1 year ago
parent
commit
12db96393f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/js/Loader.js

+ 1 - 0
editor/js/Loader.js

@@ -586,6 +586,7 @@ function Loader( editor ) {
 					//
 
 					const group = new THREE.Group();
+					group.name = filename;
 					group.scale.multiplyScalar( 0.1 );
 					group.scale.y *= - 1;