Compare commits

..

No commits in common. "select-block" and "1.2.3" have entirely different histories.

2 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "cadview",
"version": "1.2.5",
"version": "1.2.3",
"description": "",
"main": "src/index.ts",
"private": true,

View File

@ -10,7 +10,7 @@ export class ViewerSettings
{
boardMaterial: MeshBasicMaterial = boardMaterial;
selectMaterial: MeshBasicMaterial = selectMaterial;
selectByPointCallback: (meshId: number) => void = () => { };
}
export class Viewer
@ -211,10 +211,6 @@ export class Viewer
{
this.oldMesh = mesh;
mesh.material = this._Settings.selectMaterial;
if (this._Settings.selectByPointCallback)
{
this._Settings.selectByPointCallback(mesh.id);
}
}
this.m_bNeedUpdate = true;
}