spite / THREE.MeshLine

Mesh replacement for THREE.Line
MIT License
2.18k stars 380 forks source link

MeshLineMaterial.copy fails #151

Open jiehui-gelement opened 2 years ago

jiehui-gelement commented 2 years ago

Reproduce steps:

  1. initialize a MeshLineMaterial instance
  2. call .clone() on the MeshLineMaterial instance

the offending lines are below: https://github.com/spite/THREE.MeshLine/blob/b49ae600898a88bdb3486a3674d5887ca1b61ff6/src/THREE.MeshLine.js#L687-L689