Skip to content

Commit b16e257

Browse files
authored
Merge pull request #12 from rdeits/webpack
use new webpack-packaged meshcat viewer
2 parents 14f2866 + 57f5822 commit b16e257

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/meshcat/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ def viewer_assets_path():
1212
return os.path.abspath(
1313
os.path.join(
1414
os.path.dirname(__file__),
15-
"viewer",
16-
"static"
15+
"viewer"
1716
)
1817
)

src/meshcat/servers/zmqserver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
ioloop.install()
2828

2929

30-
VIEWER_ROOT = os.path.join(os.path.dirname(__file__), "..", "viewer", "static")
31-
VIEWER_HTML = "meshcat.html"
30+
VIEWER_ROOT = os.path.join(os.path.dirname(__file__), "..", "viewer", "dist")
31+
VIEWER_HTML = "index.html"
3232

3333
DEFAULT_FILESERVER_PORT = 7000
3434
MAX_ATTEMPTS = 1000

src/meshcat/viewer

0 commit comments

Comments
 (0)