Skip to content

Commit 24b7df2

Browse files
committed
Fix call to _extract_link_meshes
1 parent fefe302 commit 24b7df2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/compas_robots/model/robot.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ def get_link_visual_meshes(self, link):
10741074
-----
10751075
Only MeshDescriptor in `element.geometry.shape` is supported. Other shapes are ignored.
10761076
"""
1077-
visual_meshes = self._extract_link_meshes(link.visual, True)
1077+
visual_meshes = self._extract_link_meshes(link.visual)
10781078
return visual_meshes
10791079

10801080
def get_link_visual_meshes_joined(self, link, weld=False, weld_precision=None):
@@ -1104,7 +1104,7 @@ def get_link_visual_meshes_joined(self, link, weld=False, weld_precision=None):
11041104
-----
11051105
Only MeshDescriptor in `element.geometry.shape` is supported. Other shapes are ignored.
11061106
"""
1107-
visual_meshes = self._extract_link_meshes(link.visual, True)
1107+
visual_meshes = self._extract_link_meshes(link.visual)
11081108
if not visual_meshes:
11091109
return None
11101110

@@ -1135,7 +1135,7 @@ def get_link_collision_meshes(self, link):
11351135
-----
11361136
Only MeshDescriptor in `element.geometry.shape` is supported. Other shapes are ignored.
11371137
"""
1138-
collision_meshes = self._extract_link_meshes(link.collision, True)
1138+
collision_meshes = self._extract_link_meshes(link.collision)
11391139
return collision_meshes
11401140

11411141
def get_link_collision_meshes_joined(self, link, weld=False, weld_precision=None):
@@ -1165,7 +1165,7 @@ def get_link_collision_meshes_joined(self, link, weld=False, weld_precision=None
11651165
-----
11661166
Only MeshDescriptor in `element.geometry.shape` is supported. Other shapes are ignored.
11671167
"""
1168-
collision_meshes = self._extract_link_meshes(link.collision, True)
1168+
collision_meshes = self._extract_link_meshes(link.collision)
11691169
if not collision_meshes:
11701170
return None
11711171

0 commit comments

Comments
 (0)