Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Nell <codemanx@gmx.de>2012-05-22 00:47:02 +0400
committerSebastian Nell <codemanx@gmx.de>2012-05-22 00:47:02 +0400
commite5d4ea274002cdc58ef094370207676443a53798 (patch)
tree88fdc9974f382affdcc5af131eab6b46243f8a20 /io_scene_x3d/import_x3d.py
parent8589938b57b885de961b084029216850b08d924f (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.py5
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,
)