未验证 提交 59800779 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #14257 from paulmasson/patch-1

DirectGeometry: Update error test for faceless geometries
......@@ -140,7 +140,7 @@ Object.assign( DirectGeometry.prototype, {
//
if ( faces.length === 0 ) {
if ( vertices.length > 0 && faces.length === 0 ) {
console.error( 'THREE.DirectGeometry: Faceless geometries are not supported.' );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册