diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-09-19 12:13:54 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-09-19 12:13:54 +0300 |
commit | 1ad4915eb52e0175c50d0fba635dd666161aad2e (patch) | |
tree | a19c0c7ec67a15e23523d27827bb91e9937e1c57 /io_scene_x3d/import_x3d.py | |
parent | 9e4ce4dff8b336402fdc0b20c7c1181650e97f61 (diff) |
X3D Import: Fix some geometry-types importers functions.
Based on D5822 by Tomas Antecky (@ta), but no reason to keep that unused
parameter since those mesh geometry importer functions are all always
only called with two parameters...
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r-- | io_scene_x3d/import_x3d.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index 9c1ceae8..ffd1a3e0 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -2375,7 +2375,7 @@ def importMesh_LineSet(geom, ancestry): return bpycurve -def importMesh_IndexedLineSet(geom, ancestry, _): +def importMesh_IndexedLineSet(geom, ancestry): # VRML not x3d # coord = geom.getChildByName('coord') # 'Coordinate' coord = geom.getChildBySpec('Coordinate') # works for x3d and vrml @@ -2419,7 +2419,7 @@ def importMesh_IndexedLineSet(geom, ancestry, _): return bpycurve -def importMesh_PointSet(geom, ancestry, _): +def importMesh_PointSet(geom, ancestry): # VRML not x3d coord = geom.getChildBySpec('Coordinate') # works for x3d and vrml if coord: |