Skip to content

Commit 88a1ddf

Browse files
PANSTER.DanielPANSTER.Daniel
authored andcommitted
fix, issue #2, leading slash in path removed
1 parent f07c1b9 commit 88a1ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/cube-threejs/cube-threejs.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export class CubeThreejsComponent implements OnInit{
187187
let geometry = new THREE.BoxGeometry(this.size, this.size, this.size);
188188
//let geometry = new THREE.IcosahedronGeometry(1, 1);
189189

190-
this._texture_brick = new THREE.TextureLoader().load( "/assets/texture/Bricks.jpg" );
190+
this._texture_brick = new THREE.TextureLoader().load( "assets/texture/Bricks.jpg" );
191191
this._texture_brick.minFilter = THREE.LinearFilter;
192192
// check to set texture or pure color
193193
var matProps:any = {};

0 commit comments

Comments
 (0)