mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
修改类型。
This commit is contained in:
parent
e4b8b31846
commit
74a2e213c6
@ -37,7 +37,7 @@ class PointMarker extends THREE.Mesh {
|
||||
|
||||
super(geometry, material);
|
||||
|
||||
this.userData.type = 'text';
|
||||
this.userData.type = 'pointMarker';
|
||||
this.setText(text);
|
||||
|
||||
app.on(`resize.${this.constructor.name}${ID--}`, this.onResize.bind(this));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user