diff --git a/src/core/Object3D.js b/src/core/Object3D.js index e3ec902..22e57d1 100644 --- a/src/core/Object3D.js +++ b/src/core/Object3D.js @@ -35,4 +35,5 @@ export default { render() { return this.$slots.default ? this.$slots.default() : []; }, + __hmrId: 'Object3D', }; diff --git a/src/meshes/Mesh.js b/src/meshes/Mesh.js index 4a2c15f..55cdf3c 100644 --- a/src/meshes/Mesh.js +++ b/src/meshes/Mesh.js @@ -65,4 +65,5 @@ export default { if (this.geometry) this.geometry.dispose(); if (this.material) this.material.dispose(); }, + __hmrId: 'Mesh', };