[Bf-extensions-cvs] [5d97f79e] master: Fixed POV Lathe primitive
Maurice Raybaud
noreply at git.blender.org
Sat Oct 5 17:34:39 CEST 2019
Commit: 5d97f79e6f3ef683f64815575085b9b22be34808
Author: Maurice Raybaud
Date: Sat Oct 5 17:34:32 2019 +0200
Branches: master
https://developer.blender.org/rBA5d97f79e6f3ef683f64815575085b9b22be34808
Fixed POV Lathe primitive
layers outdated since 2.8
===================================================================
M render_povray/primitives.py
===================================================================
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
More information about the Bf-extensions-cvs
mailing list