Minor modifications.
This commit is contained in:
parent
b526bea0bb
commit
88f928beae
@ -254,7 +254,7 @@ OV.ImporterPly = class extends OV.ImporterBase
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (foundFace < face.count) {
|
if (face !== null && foundFace < face.count) {
|
||||||
if (parameters.length >= 4) {
|
if (parameters.length >= 4) {
|
||||||
let vertexCount = parseInt (parameters[0], 10);
|
let vertexCount = parseInt (parameters[0], 10);
|
||||||
if (parameters.length < vertexCount + 1) {
|
if (parameters.length < vertexCount + 1) {
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
OV.SetThreeMeshPolygonOffset = function (mesh, offset)
|
OV.SetThreeMeshPolygonOffset = function (mesh, offset)
|
||||||
{
|
{
|
||||||
function SetMaterialsPolygonOffset (materials, offset)
|
function SetMaterialsPolygonOffset (materials, offset)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user