Updating for PR comments
This commit is contained in:
@@ -251,11 +251,10 @@ class USDExporter:
|
||||
|
||||
assert geom_name not in self.geom_names
|
||||
|
||||
geom_textures = (
|
||||
[(self.texture_files[i], self.model.tex_type[i]) if i != -1 else None for i in self.model.mat_texid[geom.matid]]
|
||||
if geom.matid != -1
|
||||
else None
|
||||
)
|
||||
if geom.matid == -1:
|
||||
geom_textures = []
|
||||
else:
|
||||
geom_textures = [(self.texture_files[i], self.model.tex_type[i]) if i != -1 else None for i in self.model.mat_texid[geom.matid]]
|
||||
|
||||
# handling meshes in our scene
|
||||
if geom.type == mujoco.mjtGeom.mjGEOM_MESH:
|
||||
|
||||
Reference in New Issue
Block a user