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:
authorMaurice Raybaud <mauriceraybaud@hotmail.fr>2019-10-05 18:34:32 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2019-10-05 18:34:32 +0300
commit5d97f79e6f3ef683f64815575085b9b22be34808 (patch)
treed5a12cb8c39fd24cec5d0874671aeb816e883027 /render_povray
parent499913e62c54739d23358a751527cc83688e5149 (diff)
Fixed POV Lathe primitive
layers outdated since 2.8
Diffstat (limited to 'render_povray')
-rw-r--r--render_povray/primitives.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/render_povray/primitives.py b/render_povray/primitives.py
index 750d8959..6f29b2d9 100644
--- a/render_povray/primitives.py
+++ b/render_povray/primitives.py
@@ -67,12 +67,12 @@ class POVRAY_OT_lathe_add(bpy.types.Operator):
def execute(self, context):
- layers=[False]*20
- layers[0]=True
+ #ayers=[False]*20
+ #layers[0]=True
bpy.ops.curve.primitive_bezier_curve_add(
location=context.scene.cursor.location,
rotation=(0, 0, 0),
- layers=layers,
+ #layers=layers,
)
ob = context.view_layer.objects.active
ob_data = ob.data
@@ -1270,7 +1270,7 @@ class POVRAY_OT_prism_add(bpy.types.Operator):
loftData = bpy.data.curves.new('Prism', type='CURVE')
loftData.dimensions = '2D'
loftData.resolution_u = 2
- loftData.show_normal_face = False
+ #loftData.show_normal_face = False
loftData.extrude = 2
n=props.prism_n
r=props.prism_r