def _link_data(self):
<EOL>for acc in self.accessors:<EOL><INDENT>acc.bufferView = self.buffer_views[acc.bufferViewId]<EOL><DEDENT>for buffer_view in self.buffer_views:<EOL><INDENT>buffer_view.buffer = self.buffers[buffer_view.bufferId]<EOL><DEDENT>for mesh in self.meshes:<EOL><INDENT>for primitive in mesh.primitives:<EOL><INDENT>if getattr(primitive, "<STR_LIT>", None) is not None:<EOL><INDENT>primitive.indices = self.accessors[primitive.indices]<EOL><DEDENT>for name, value in primitive.attributes.items():<EOL><INDENT>primitive.attributes[name] = self.accessors[value]<EOL><DEDENT><DEDENT><DEDENT>for image in self.images:<EOL><INDENT>if image.bufferViewId is not None:<EOL><INDENT>image.bufferView = self.buffer_views[image.bufferViewId]<EOL><DEDENT><DEDENT>
Add references