diff options
author | Sebastian Nell <codemanx@gmx.de> | 2012-05-22 00:47:02 +0400 |
---|---|---|
committer | Sebastian Nell <codemanx@gmx.de> | 2012-05-22 00:47:02 +0400 |
commit | e5d4ea274002cdc58ef094370207676443a53798 (patch) | |
tree | 88fdc9974f382affdcc5af131eab6b46243f8a20 /io_scene_x3d/import_x3d.py | |
parent | 8589938b57b885de961b084029216850b08d924f (diff) |
Bmesh fix for VRML/X3D importer, parameters changed. Patch by noiq.
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r-- | io_scene_x3d/import_x3d.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index ebbbbde0..84f46fa2 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -1980,9 +1980,10 @@ def importMesh_Cone(geom, ancestry): # bpymesh = Mesh.Primitives.Cone(GLOBALS['CIRCLE_DETAIL'], diameter, height) bpy.ops.mesh.primitive_cone_add(vertices=GLOBALS['CIRCLE_DETAIL'], - radius=diameter, + radius1=diameter, + radius2=0, depth=height, - cap_end=True, + end_fill_type='NGON', view_align=False, enter_editmode=False, ) |