Cleanup: remove unused layers property from template

Also remove unused imports.
This commit is contained in:
Campbell Barton 2021-02-21 20:53:18 +11:00
parent af37c3e8f1
commit c6ddb68b7a

@ -2,6 +2,9 @@ import bpy
import bmesh
from bpy_extras.object_utils import AddObjectHelper
from bpy.props import (
FloatProperty,
)
def add_box(width, height, depth):
"""
@ -36,15 +39,6 @@ def add_box(width, height, depth):
return verts, faces
from bpy.props import (
BoolProperty,
BoolVectorProperty,
EnumProperty,
FloatProperty,
FloatVectorProperty,
)
class AddBox(bpy.types.Operator, AddObjectHelper):
"""Add a simple box mesh"""
bl_idname = "mesh.primitive_box_add"
@ -69,12 +63,6 @@ class AddBox(bpy.types.Operator, AddObjectHelper):
min=0.01, max=100.0,
default=1.0,
)
layers: BoolVectorProperty(
name="Layers",
description="Object Layers",
size=20,
options={'HIDDEN', 'SKIP_SAVE'},
)
def execute(self, context):