diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-29 16:04:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-29 16:10:37 +0300 |
commit | 4925188eae9fb077c324e308411edc5b71a5f459 (patch) | |
tree | 0ddaef377f6ba8aa3c1704f3306b66b56ae80212 /ant_landscape | |
parent | cdf62c7a754276737a2a7cbc0b31aec51ca1cd41 (diff) |
Python / Cleanup: rename INFO_MT to TOPBAR_MT to reflect actual location.
Diffstat (limited to 'ant_landscape')
-rw-r--r-- | ant_landscape/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ant_landscape/__init__.py b/ant_landscape/__init__.py index ba6e8b6f..448993d0 100644 --- a/ant_landscape/__init__.py +++ b/ant_landscape/__init__.py @@ -938,14 +938,14 @@ class AntLandscapePropertiesGroup(bpy.types.PropertyGroup): def register(): bpy.utils.register_module(__name__) - bpy.types.INFO_MT_mesh_add.append(menu_func_landscape) + bpy.types.VIEW3D_MT_mesh_add.append(menu_func_landscape) bpy.types.Object.ant_landscape = PointerProperty(type=AntLandscapePropertiesGroup, name="ANT_Landscape", description="Landscape properties") bpy.types.VIEW3D_MT_paint_weight.append(menu_func_eroder) def unregister(): bpy.utils.unregister_module(__name__) - bpy.types.INFO_MT_mesh_add.remove(menu_func_landscape) + bpy.types.VIEW3D_MT_mesh_add.remove(menu_func_landscape) bpy.types.VIEW3D_MT_paint_weight.remove(menu_func_eroder) |