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:
Diffstat (limited to 'mesh_tiny_cad/__init__.py')
-rw-r--r--mesh_tiny_cad/__init__.py4
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