|
@@ -20,12 +20,12 @@ class AttributeNode extends Node {
|
|
|
|
|
|
getNodeType( builder ) {
|
|
|
|
|
|
- const attributeName = this.getAttributeName( builder );
|
|
|
-
|
|
|
let nodeType = super.getNodeType( builder );
|
|
|
|
|
|
if ( nodeType === null ) {
|
|
|
|
|
|
+ const attributeName = this.getAttributeName( builder );
|
|
|
+
|
|
|
if ( builder.hasGeometryAttribute( attributeName ) ) {
|
|
|
|
|
|
const attribute = builder.geometry.getAttribute( attributeName );
|