diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-29 06:54:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-30 04:27:36 +0300 |
commit | 5a2c3d67f7f61caea570f139219ddb760da51325 (patch) | |
tree | 26fee46d2f9ccf38f48cd96b48e7d9aa4d8ff9e4 /io_export_dxf/operator.py | |
parent | 38e90857d82644b6b29bfd1e12a52835684eb8b8 (diff) |
DXF Exporter: support module reloading
Also remove use of register_module
Diffstat (limited to 'io_export_dxf/operator.py')
-rw-r--r-- | io_export_dxf/operator.py | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/io_export_dxf/operator.py b/io_export_dxf/operator.py index 3ba7de60..a2d9dcf7 100644 --- a/io_export_dxf/operator.py +++ b/io_export_dxf/operator.py @@ -1,7 +1,27 @@ - +# ##### BEGIN GPL LICENSE BLOCK ##### +# +# 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 2 +# 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 +# MERCHANTABILITY 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, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# ##### END GPL LICENSE BLOCK ##### import bpy -from bpy.props import StringProperty, EnumProperty, BoolProperty +from bpy.props import ( + BoolProperty, + EnumProperty, + StringProperty, +) class DXFExporter(bpy.types.Operator): """ |