Skip to content

Commit 6bbe0b5

Browse files
committed
put assets at root to fix missing textures
1 parent 3700402 commit 6bbe0b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

animationHud.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export function createPlaybackHUD(animationManager, scene) {
161161

162162
// Create path icon image
163163
const pathIcon = document.createElement('img');
164-
pathIcon.src = '/../assets/paths.png';
164+
pathIcon.src = './paths.png';
165165
pathIcon.width = 20;
166166
pathIcon.height = 20;
167167
pathIcon.style.marginRight = '5px';
@@ -211,7 +211,7 @@ export function createPlaybackHUD(animationManager, scene) {
211211

212212
//create gizmo icon image
213213
const gizmoIcon = document.createElement('img');
214-
gizmoIcon.src = '/../assets/gizmo.PNG';
214+
gizmoIcon.src = './gizmo.PNG';
215215
gizmoIcon.width = 20;
216216
gizmoIcon.height = 20;
217217
gizmoIcon.style.marginLeft = '5px';

0 commit comments

Comments
 (0)