diff options
author | mano-wii <germano.costa@ig.com.br> | 2018-10-30 08:12:30 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2018-10-30 08:12:57 +0300 |
commit | 296002e6a3caa54aa9b8cd0b60223a91a0d68983 (patch) | |
tree | 9c9b8e7addbda8f36725e51c2cab1f4b5da98e7c /mesh_snap_utilities_line/__init__.py | |
parent | 8b32385cf00e2fa7280c7ab6c3ac2a3bdf837eb2 (diff) |
Snap Utilities Line: Cleanup
Diffstat (limited to 'mesh_snap_utilities_line/__init__.py')
-rw-r--r-- | mesh_snap_utilities_line/__init__.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mesh_snap_utilities_line/__init__.py b/mesh_snap_utilities_line/__init__.py index 390cbcd0..9811bfb9 100644 --- a/mesh_snap_utilities_line/__init__.py +++ b/mesh_snap_utilities_line/__init__.py @@ -22,11 +22,11 @@ bl_info = { "name": "Snap_Utilities_Line", "author": "Germano Cavalcante", - "version": (5, 8, 22), + "version": (5, 8, 23), "blender": (2, 80, 0), - "location": "View3D > TOOLS > Snap Utilities > snap utilities", + "location": "View3D > TOOLS > Make Line", "description": "Extends Blender Snap controls", - "wiki_url" : "http://blenderartists.org/forum/showthread.php?363859-Addon-CAD-Snap-Utilities", + #"wiki_url" : "http://blenderartists.org/forum/showthread.php?363859-Addon-CAD-Snap-Utilities", "category": "Mesh"} if "bpy" in locals(): @@ -73,12 +73,12 @@ def tool_make_line(): ) -def get_tool_list(space_type, context_mode): - from bl_ui.space_toolsystem_common import ToolSelectPanelHelper - cls = ToolSelectPanelHelper._tool_class_from_space_type(space_type) - return cls._tools[context_mode] - def register(): + def get_tool_list(space_type, context_mode): + from bl_ui.space_toolsystem_common import ToolSelectPanelHelper + cls = ToolSelectPanelHelper._tool_class_from_space_type(space_type) + return cls._tools[context_mode] + bpy.utils.register_class(preferences.SnapUtilitiesLinePreferences) bpy.utils.register_class(ops_line.SnapUtilitiesLine) |