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>2018-10-30 08:12:30 +0300
committermano-wii <germano.costa@ig.com.br>2018-10-30 08:12:57 +0300
commit296002e6a3caa54aa9b8cd0b60223a91a0d68983 (patch)
tree9c9b8e7addbda8f36725e51c2cab1f4b5da98e7c /mesh_snap_utilities_line/preferences.py
parent8b32385cf00e2fa7280c7ab6c3ac2a3bdf837eb2 (diff)
Snap Utilities Line: Cleanup
Diffstat (limited to 'mesh_snap_utilities_line/preferences.py')
-rw-r--r--mesh_snap_utilities_line/preferences.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/mesh_snap_utilities_line/preferences.py b/mesh_snap_utilities_line/preferences.py
index 37b6baf6..95dff3bc 100644
--- a/mesh_snap_utilities_line/preferences.py
+++ b/mesh_snap_utilities_line/preferences.py
@@ -26,17 +26,6 @@ from bpy.props import (
)
-def update_panel(self, context):
- try:
- panel = bpy.types.VIEW3D_PT_snap_utilities
- panel.bl_category = context.user_preferences.addons[__package__].preferences.category
- bpy.utils.unregister_class(panel)
- bpy.utils.register_class(panel)
- except:
- print('not update')
- pass
-
-
class SnapUtilitiesLinePreferences(bpy.types.AddonPreferences):
# this must match the addon name, use '__package__'
# when defining this in a submodule of a python package.