Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-08-29 16:04:48 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-08-29 16:10:37 +0300
commit4925188eae9fb077c324e308411edc5b71a5f459 (patch)
tree0ddaef377f6ba8aa3c1704f3306b66b56ae80212 /io_export_paper_model.py
parentcdf62c7a754276737a2a7cbc0b31aec51ca1cd41 (diff)
Python / Cleanup: rename INFO_MT to TOPBAR_MT to reflect actual location.
Diffstat (limited to 'io_export_paper_model.py')
-rw-r--r--io_export_paper_model.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_export_paper_model.py b/io_export_paper_model.py
index 5ddcc11c..624dbde2 100644
--- a/io_export_paper_model.py
+++ b/io_export_paper_model.py
@@ -2582,12 +2582,12 @@ def register():
bpy.types.Mesh.paper_island_index = bpy.props.IntProperty(
name="Island List Index",
default=-1, min=-1, max=100, options={'SKIP_SAVE'})
- bpy.types.INFO_MT_file_export.append(menu_func)
+ bpy.types.TOPBAR_MT_file_export.append(menu_func)
def unregister():
bpy.utils.unregister_module(__name__)
- bpy.types.INFO_MT_file_export.remove(menu_func)
+ bpy.types.TOPBAR_MT_file_export.remove(menu_func)
if display_islands.handle:
bpy.types.SpaceView3D.draw_handler_remove(display_islands.handle, 'WINDOW')
display_islands.handle = None