From ec355ba3cfb2c9e97c385859a6e39ca92b8b30d7 Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Sun, 27 Jun 2010 21:21:55 +0000
Subject: [PATCH] minor fixes

---
 io_mesh_raw/__init__.py | 2 +-
 mesh_surface_sketch.py  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/io_mesh_raw/__init__.py b/io_mesh_raw/__init__.py
index cab63b040..74474c098 100644
--- a/io_mesh_raw/__init__.py
+++ b/io_mesh_raw/__init__.py
@@ -20,7 +20,7 @@ bl_addon_info = {
     'name': 'I/O: Raw mesh',
     'author': 'Anthony D,Agostino (Scorpius), Aurel Wildfellner',
     'version': '0.2',
-    'blender': '2.5.3',
+    'blender': (2, 5, 3),
     'location': 'File > Import/Export > Raw faces ',
     'description': 'Import Raw Faces (.raw format)',
     'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \
diff --git a/mesh_surface_sketch.py b/mesh_surface_sketch.py
index 1b13a934a..7f573df7c 100644
--- a/mesh_surface_sketch.py
+++ b/mesh_surface_sketch.py
@@ -811,6 +811,7 @@ def unregister():
     bpy.types.unregister(GPENCIL_OT_SURFSK_add_surface) 
     bpy.types.unregister(GPENCIL_OT_SURFSK_strokes_to_curves) 
     bpy.types.unregister(VIEW3D_PT_tools_SURF_SKETCH)
+    km = bpy.data.window_managers[0].active_keyconfig.keymaps["3D View"]
     for kmi in km.items:
         if kmi.idname == 'wm.call_menu':
             if kmi.properties.name == "GPENCIL_OT_SURFSK_add_surface":
-- 
GitLab