|
@@ -1150,6 +1150,12 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
attribute = geometry.attributes[ a ];
|
|
attribute = geometry.attributes[ a ];
|
|
|
|
|
|
|
|
+ if ( attribute.numItems === undefined ) {
|
|
|
|
+
|
|
|
|
+ attribute.numItems = attribute.array.length;
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
attribute.buffer = _gl.createBuffer();
|
|
attribute.buffer = _gl.createBuffer();
|
|
|
|
|
|
_gl.bindBuffer( type, attribute.buffer );
|
|
_gl.bindBuffer( type, attribute.buffer );
|