Skip to content

Commit

Permalink
Set non-required flag for texture filename attrib
Browse files Browse the repository at this point in the history
Fix problems with loading URDF with empty texture tag from baxter's
dynamically loaded URDF on the param server.
  • Loading branch information
rethink-rlinsalata committed Jan 30, 2015
1 parent 9999dee commit 8299286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urdf_parser_py/urdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def __init__(self, filename = None):
self.filename = filename

xmlr.reflect(Texture, params = [
xmlr.Attribute('filename', str)
xmlr.Attribute('filename', str, required=False)
])


Expand Down

0 comments on commit 8299286

Please sign in to comment.