@@ -289,22 +289,22 @@ module.exports = {
289
289
nullable : true ,
290
290
help : 'The index of the face picked (null if no face picked)' ,
291
291
} ) ,
292
- modifiers : new Types . Array ( {
292
+ modifiers : new Types . Array ( undefined , {
293
293
help : 'The keyboard modifiers held at the pick event in the following order: [SHIFT, CTRL, ALT, META]' ,
294
294
} ) ,
295
295
object : new Types . ThreeType ( 'Object3D' , {
296
296
nullable : true ,
297
297
help : 'The picked object (null if no object picked)' ,
298
298
} ) ,
299
- picked : new Types . Array ( {
299
+ picked : new Types . Array ( undefined , {
300
300
help : 'The other fields on the picker will always be for the first object intersection. ' +
301
301
'If ``all`` is set true, this field will be an array containing the same information ' +
302
302
'for all intersections.' ,
303
303
} ) ,
304
304
uv : new Types . Vector2 ( 0 , 0 , {
305
305
help : 'The UV coordinate picked (all zero if invalid pick)' ,
306
306
} ) ,
307
- indices : new Types . Array ( {
307
+ indices : new Types . Array ( undefined , {
308
308
help : 'The vertex indices of the picked face (empty if no face picked)' ,
309
309
} ) ,
310
310
} ,
@@ -365,7 +365,7 @@ module.exports = {
365
365
vertices : new Types . VectorArray ( ) ,
366
366
colors : new Types . ColorArray ( ) ,
367
367
faces : new Types . FaceArray ( ) ,
368
- faceVertexUvs : new Types . Array ( ) ,
368
+ faceVertexUvs : new Types . Array ( [ [ ] ] ) ,
369
369
lineDistances : new Types . Array ( ) ,
370
370
morphTargets : new Types . Array ( ) ,
371
371
morphNormals : new Types . Array ( ) ,
0 commit comments