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:
authormano-wii <germano.costa@ig.com.br>2019-02-10 16:19:32 +0300
committermano-wii <germano.costa@ig.com.br>2019-02-10 16:19:32 +0300
commit93cd3f9a9be7f97b150d7d9b58a9506bd9a0fbe3 (patch)
tree2022fe9e075e702aced33c1fbdd2dd073c8575ad /mesh_snap_utilities_line/__init__.py
parentf999cc0908333ac0d4b2b203706f3eb640ba54c9 (diff)
mesh_snap_utilities_line: Cleanup
Rename files, and split the `common_classes.py` file into `drawing_utilities.py`, `navigation_ops.py` and `widgets.py`
Diffstat (limited to 'mesh_snap_utilities_line/__init__.py')
-rw-r--r--mesh_snap_utilities_line/__init__.py26
1 files changed, 14 insertions, 12 deletions
diff --git a/mesh_snap_utilities_line/__init__.py b/mesh_snap_utilities_line/__init__.py
index dc086540..be37d8a0 100644
--- a/mesh_snap_utilities_line/__init__.py
+++ b/mesh_snap_utilities_line/__init__.py
@@ -22,22 +22,24 @@
bl_info = {
"name": "Snap_Utilities_Line",
"author": "Germano Cavalcante",
- "version": (5, 9, 00),
+ "version": (5, 9, 1),
"blender": (2, 80, 0),
"location": "View3D > TOOLS > Line Tool",
"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():
import importlib
- importlib.reload(common_classes)
+ importlib.reload(navigation_ops)
+ importlib.reload(widgets)
importlib.reload(preferences)
- importlib.reload(ops_line)
+ importlib.reload(op_line)
else:
- from . import common_classes
+ from . import navigation_ops
+ from . import widgets
from . import preferences
- from . import ops_line
+ from . import op_line
import bpy
from bpy.utils.toolsystem import ToolDef
@@ -105,7 +107,7 @@ def register_snap_tools():
tools[:index] += None, tool_line
- del tool, tools, index
+ del tools, index
keyconfigs = bpy.context.window_manager.keyconfigs
kc_defaultconf = keyconfigs.get("blender")
@@ -144,11 +146,11 @@ def unregister_snap_tools():
classes = (
preferences.SnapUtilitiesPreferences,
- ops_line.SnapUtilitiesLine,
- common_classes.VIEW3D_OT_rotate_custom_pivot,
- common_classes.VIEW3D_OT_zoom_custom_target,
- common_classes.SnapPointWidget,
- common_classes.SnapPointWidgetGroup,
+ op_line.SnapUtilitiesLine,
+ navigation_ops.VIEW3D_OT_rotate_custom_pivot,
+ navigation_ops.VIEW3D_OT_zoom_custom_target,
+ widgets.SnapPointWidget,
+ widgets.SnapPointWidgetGroup,
)
def register():