diff options
author | Eugenio Pignataro <info@oscurart.com.ar> | 2019-03-12 19:51:38 +0300 |
---|---|---|
committer | Eugenio Pignataro <info@oscurart.com.ar> | 2019-03-12 19:58:01 +0300 |
commit | 59ddca922cceb493f4f776267f3c67346a04124a (patch) | |
tree | b206233dbe4e3df597a5a8252d62570407caea04 /oscurart_tools/__init__.py | |
parent | 06c6202dcb5d73efe0597ff3d6673caec8ea930d (diff) |
OscurartTools interface Restore: bpy.types.VIEW3D_MT_object_context_menu(menu_funcObject)
Diffstat (limited to 'oscurart_tools/__init__.py')
-rw-r--r-- | oscurart_tools/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/oscurart_tools/__init__.py b/oscurart_tools/__init__.py index c20d6e10..119dc004 100644 --- a/oscurart_tools/__init__.py +++ b/oscurart_tools/__init__.py @@ -163,9 +163,9 @@ classes = ( def register(): from bpy.types import Scene Scene.multimeshedit = StringProperty() - bpy.types.VIEW3D_MT_edit_mesh_specials.prepend(menu_funcMesh) - bpy.types.IMAGE_MT_uvs_specials.prepend(menu_funcImage) - bpy.types.VIEW3D_MT_object_specials.prepend(menu_funcObject) + bpy.types.VIEW3D_MT_edit_mesh_context_menu.prepend(menu_funcMesh) + bpy.types.IMAGE_MT_uvs_context_menu.prepend(menu_funcImage) + bpy.types.VIEW3D_MT_object_context_menu.prepend(menu_funcObject) bpy.app.handlers.render_init.append(render_tokens.replaceTokens) bpy.app.handlers.render_cancel.append(render_tokens.restoreTokens) bpy.app.handlers.render_complete.append(render_tokens.restoreTokens) @@ -179,9 +179,9 @@ def register(): def unregister(): - bpy.types.VIEW3D_MT_edit_mesh_specials.remove(menu_funcMesh) - bpy.types.IMAGE_MT_uvs_specials.remove(menu_funcImage) - bpy.types.VIEW3D_MT_object_specials.remove(menu_funcObject) + bpy.types.VIEW3D_MT_edit_mesh_context_menu.remove(menu_funcMesh) + bpy.types.IMAGE_MT_uvs_context_menu.remove(menu_funcImage) + bpy.types.VIEW3D_MT_object_context_menu.remove(menu_funcObject) from bpy.utils import unregister_class for cls in reversed(classes): |