We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9f065 commit 20e7c09Copy full SHA for 20e7c09
pythreejs/core/BufferGeometry.py
@@ -45,7 +45,8 @@ def _gen_repr_from_keys(self, keys):
45
'%s=%r' % (key, getattr(self, key))
46
for key in keys if key not in data_keys
47
]
48
- if not self._compare(self.index, self.__class__.index.default_value):
+ if (not self._compare(self.index, self.__class__.index.default_value) and
49
+ self.index is not None):
50
signature_parts.append('index=%s' % _attr_value_repr(self.index))
51
for name in ('attributes', 'morphAttributes'):
52
if not _dict_is_default(self, name):
0 commit comments