升级到webpack4

This commit is contained in:
ChenX
2018-08-17 17:39:11 +08:00
parent 563ea73750
commit c99f7f8149
11 changed files with 1935 additions and 5684 deletions

View File

@@ -43,7 +43,7 @@ export class Viewer
let mesh = PointPick(this, e.offsetX, e.offsetY);
if (oldMesh)
oldMesh.material = boardMaterial;
if (mesh && mesh.material !== ColorMaterial.GetLineMaterial(1))
if (mesh && mesh.material !== ColorMaterial.GetBasicMaterial(1))
{
oldMesh = mesh;
mesh.material = selectMaterial;