Skip to content
Snippets Groups Projects
Commit 04bee5da authored by Maurice Raybaud's avatar Maurice Raybaud
Browse files

Fixed POV-Ray Box

Layers prevented POV Box from working
parent 1e5f561a
No related branches found
No related tags found
No related merge requests found
......@@ -615,9 +615,9 @@ class POVRAY_OT_box_add(bpy.types.Operator):
bl_options = {'REGISTER', 'UNDO'}
def execute(self,context):
layers = 20*[False]
layers[0] = True
bpy.ops.mesh.primitive_cube_add(layers=layers)
# layers = 20*[False]
# layers[0] = True
bpy.ops.mesh.primitive_cube_add()
ob = context.object
ob.name = ob.data.name = 'PovBox'
bpy.ops.object.mode_set(mode="EDIT")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment