File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/compas/robots/resources Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def can_load_mesh(self, url):
8282 Otherwise ``False``.
8383 """
8484
85- url = self ._get_local_url (url )
85+ url = self ._get_mesh_url (url )
8686 scheme = urlparse (url ).scheme
8787
8888 # Local files have either:
@@ -112,10 +112,10 @@ def load_mesh(self, url):
112112 :class:`Mesh`
113113 Instance of a mesh.
114114 """
115- url = self ._get_local_url (url )
115+ url = self ._get_mesh_url (url )
116116 return _mesh_import (url , url )
117117
118- def _get_local_url (self , url ):
118+ def _get_mesh_url (self , url ):
119119 """Concatenates basepath directory to URL only if defined in the keyword arguments.
120120 It also strips out the scheme 'file:///' from the URL if present.
121121
@@ -127,7 +127,7 @@ def _get_local_url(self, url):
127127 Returns
128128 -------
129129 url: str
130- Extended mesh location if basepath in kwargs.
130+ Extended mesh url location if basepath in kwargs.
131131 Else, it returns url.
132132 """
133133 if url .startswith ('file:///' ):
You can’t perform that action at this time.
0 commit comments