diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-12 03:05:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-12 03:05:44 +0300 |
commit | b2b015a396372e39a7035f394f06405b68423fed (patch) | |
tree | d198df235a4a2156a2b869218e7238e16e857838 /mesh_tiny_cad | |
parent | c7f6ef3fef1315e97fd7326c08b7c7ad7b82762a (diff) |
Update for changes to Blender
Diffstat (limited to 'mesh_tiny_cad')
-rw-r--r-- | mesh_tiny_cad/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh_tiny_cad/__init__.py b/mesh_tiny_cad/__init__.py index 8905baa8..e72a919a 100644 --- a/mesh_tiny_cad/__init__.py +++ b/mesh_tiny_cad/__init__.py @@ -75,11 +75,11 @@ def register(): bpy.utils.register_class(cls) bpy.types.Scene.tinycad_props = bpy.props.PointerProperty( name="TinyCAD props", type=TinyCADProperties) - bpy.types.VIEW3D_MT_edit_mesh_specials.prepend(menu_func) + bpy.types.VIEW3D_MT_edit_mesh_context_menu.prepend(menu_func) def unregister(): - bpy.types.VIEW3D_MT_edit_mesh_specials.remove(menu_func) + bpy.types.VIEW3D_MT_edit_mesh_context_menu.remove(menu_func) for cls in reversed(classes): bpy.utils.unregister_class(cls) del bpy.types.Scene.tinycad_props |