Skip to content

Commit

Permalink
Cleanup: fix source typos
Browse files Browse the repository at this point in the history
Contributed by luzpaz.

Differential Revision: https://developer.blender.org/D14313
  • Loading branch information
brechtvl committed Mar 15, 2022
1 parent 777653f commit 2502531
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions magic_uv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,31 @@
utils.bl_class_registry.BlClassRegistry.cleanup()
importlib.reload(op)
importlib.reload(ui)
importlib.reload(properites)
importlib.reload(properties)
importlib.reload(preferences)
else:
import bpy
from . import common
from . import utils
from . import op
from . import ui
from . import properites
from . import properties
from . import preferences

import bpy


def register():
utils.bl_class_registry.BlClassRegistry.register()
properites.init_props(bpy.types.Scene)
properties.init_props(bpy.types.Scene)
user_prefs = utils.compatibility.get_user_preferences(bpy.context)
if user_prefs.addons['magic_uv'].preferences.enable_builtin_menu:
preferences.add_builtin_menu()


def unregister():
preferences.remove_builtin_menu()
properites.clear_props(bpy.types.Scene)
properties.clear_props(bpy.types.Scene)
utils.bl_class_registry.BlClassRegistry.unregister()


Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions mesh_snap_utilities_line/common_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,11 @@ def clear(self):


class Constrain:
def __init__(self, peferences, scene, obj):
def __init__(self, prefs, scene, obj):
self.last_type = None
self.last_vec = None
self.rotMat = None
self.preferences = peferences
self.preferences = prefs
trans_orient = scene.transform_orientation_slots[0]
self.orientation = [None, None]
if trans_orient.type == 'LOCAL':
Expand Down

0 comments on commit 2502531

Please sign in to comment.