Browse Source

Delete __INIT__.PY

0000OOOO0000 4 years ago committed by GitHub
parent
commit
2116b21e15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 68
      ◯ᴥᗱᗴᗝИNᗱᗴᙁ⚭ⵙ⚭ᙁᗱᗴИNᗝᗱᗴᴥ◯/2.90/SCRIPTS/ADDONS/ARRAY_TOOLS_1-2-1/__INIT__.PY

68
◯ᴥᗱᗴᗝИNᗱᗴᙁ⚭ⵙ⚭ᙁᗱᗴИNᗝᗱᗴᴥ◯/2.90/SCRIPTS/ADDONS/ARRAY_TOOLS_1-2-1/__INIT__.PY

@ -1,68 +0,0 @@
# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import bpy
from . import cfg
from . import at_interface
bl_info = {
"name": "Array_tools",
"author": "Elreenys",
"description": "Tools to create array of objects",
"blender": (2, 80, 0),
"version": (1, 2, 1),
"location": "View3D > sidebar > array tools tab",
"category": "Object"
}
classes = (
at_operators.OBJECT_OT_at_start,
at_operators.OBJECT_OT_at_cancel,
at_operators.OBJECT_OT_at_done,
at_operators.OBJECT_OT_fill_tr,
at_operators.OBJECT_OT_fill_sc,
at_operators.OBJECT_OT_fill_rot,
at_operators.OBJECT_OT_x360,
at_operators.OBJECT_OT_y360,
at_operators.OBJECT_OT_z360,
at_operators.OBJECT_OT_reset_tr,
at_operators.OBJECT_OT_reset_sc,
at_operators.OBJECT_OT_reset_rot,
at_operators.OBJECT_OT_reset_second,
at_operators.OBJECT_OT_error,
at_panel.UIPANEL_PT_trans,
at_panel.UIPANEL_PT_rows,
at_panel.UIPANEL_PT_options,
at_interface.ArrayTools_props
)
def register():
scene = bpy.types.Scene
pp = bpy.props.PointerProperty
for cls in classes:
bpy.utils.register_class(cls)
scene.arraytools_prop = pp(type=at_interface.ArrayTools_props)
def unregister():
del bpy.types.Scene.arraytools_prop
for cls in reversed(classes):
bpy.utils.unregister_class(cls)
if __name__ == '__main__':
register()
Loading…
Cancel
Save