|
@@ -166,7 +166,6 @@ function WebGLGeometries( gl, attributes, info ) {
|
|
|
function getWireframeAttribute( geometry ) {
|
|
|
|
|
|
var geometryIndex = geometry.index;
|
|
|
- var geometryPosition = geometry.attributes.position;
|
|
|
|
|
|
var currentAttribute = wireframeAttributes[ geometry.id ];
|
|
|
|
|
@@ -182,16 +181,6 @@ function WebGLGeometries( gl, attributes, info ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- } else {
|
|
|
-
|
|
|
- // if the attribute is obsolete, create a new one
|
|
|
-
|
|
|
- if ( currentAttribute.version < geometryPosition.version ) {
|
|
|
-
|
|
|
- updateWireframeAttribute( geometry );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
|
|
|
} else {
|