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:
authorCampbell Barton <ideasman42@gmail.com>2019-03-12 03:05:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-12 03:05:44 +0300
commitb2b015a396372e39a7035f394f06405b68423fed (patch)
treed198df235a4a2156a2b869218e7238e16e857838 /mesh_tiny_cad
parentc7f6ef3fef1315e97fd7326c08b7c7ad7b82762a (diff)
Update for changes to Blender
Diffstat (limited to 'mesh_tiny_cad')
-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