File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " angular-three-gltf" ,
3
- "version" : " 2.0.4 " ,
3
+ "version" : " 2.0.5 " ,
4
4
"description" : " GLTF to Angular Three converter" ,
5
5
"scripts" : {
6
6
"cleanup" : " rimraf node_modules"
Original file line number Diff line number Diff line change @@ -725,7 +725,7 @@ export class ${componentName} {
725
725
${ hasAnimations ? `animations = model<${ gltfAnimationApiTypeName } >();` : "" }
726
726
modelRef = viewChild<ElementRef<Group>>('model');
727
727
728
- protected gltf = injectGLTF<${ gltfResultTypeName } >(() => " ${ options . importattribute && ! url . startsWith ( "http" ) ? gltfName : url } "${ gltfOptions ? `, ${ JSON . stringify ( gltfOptions ) } ` : "" } );
728
+ protected gltf = injectGLTF<${ gltfResultTypeName } >(() => ${ options . importattribute && ! url . startsWith ( "http" ) ? gltfName : `" ${ url } "` } ${ gltfOptions ? `, ${ JSON . stringify ( gltfOptions ) } ` : "" } );
729
729
730
730
constructor() {
731
731
extend({ Group${ ngtTypesArr . length ? ", " + ngtTypesArr . join ( ", " ) : "" } });
You can’t perform that action at this time.
0 commit comments