Skip to content

Commit

Permalink
Added new required functions in new Trimesh version in GFileResolver
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 585078419
  • Loading branch information
tensorflower-gardener authored and copybara-github committed Nov 24, 2023
1 parent 1b0203e commit 8c09d73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tensorflow_graphics/io/triangle_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ def get(self, name):
data = f.read()
return data

def write(self, name, data):
raise NotImplementedError('writing not implemented in GFileResolver')

def namespaced(self, namespace):
raise NotImplementedError('namespaced not implemented in GFileResolver')


def load(file_obj, file_type=None, **kwargs):
"""Loads a triangle mesh from the given GFile/file path.
Expand Down

0 comments on commit 8c09d73

Please sign in to comment.