File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -986,7 +986,7 @@ function WebGLRenderer( parameters ) {
986
986
var size = geometryAttribute . itemSize ;
987
987
var buffer = objects . getAttributeBuffer ( geometryAttribute ) ;
988
988
989
- if ( geometryAttribute && geometryAttribute . isInterleavedBufferAttribute ) {
989
+ if ( geometryAttribute . isInterleavedBufferAttribute ) {
990
990
991
991
var data = geometryAttribute . data ;
992
992
var stride = data . stride ;
@@ -1013,7 +1013,7 @@ function WebGLRenderer( parameters ) {
1013
1013
1014
1014
} else {
1015
1015
1016
- if ( geometryAttribute && geometryAttribute . isInstancedBufferAttribute ) {
1016
+ if ( geometryAttribute . isInstancedBufferAttribute ) {
1017
1017
1018
1018
state . enableAttributeAndDivisor ( programAttribute , geometryAttribute . meshPerAttribute , extension ) ;
1019
1019
You can’t perform that action at this time.
0 commit comments