From 1863849c3ae983d22c145fb6e26c62b54f4286aa Mon Sep 17 00:00:00 2001 From: Jaume Sanchez Date: Wed, 7 Feb 2018 11:52:59 +0000 Subject: [PATCH] Fixed types for Mesh: Material is no longer an array of Materials --- types/three/three-core.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 40a9d4daa0..12e329da61 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -4851,10 +4851,10 @@ export class LineSegments extends Line { } export class Mesh extends Object3D { - constructor(geometry?: Geometry | BufferGeometry, material?: Material | Material []); + constructor(geometry?: Geometry | BufferGeometry, material?: Material); geometry: Geometry|BufferGeometry; - material: Material | Material[]; + material: Material; drawMode: TrianglesDrawModes; morphTargetInfluences?: number[]; morphTargetDictionary?: { [key: string]: number; };