KEYMAP REFACTORING
[blender.git] / source / blender / editors / interface / resources.c
index 32e87b3a793995a0ec5c930a15ddb51d22194319..f3db6ad11aee9a76d1487c59d4341f1ccde69d07 100644 (file)
@@ -1425,7 +1425,7 @@ void init_userdef_do_versions(void)
        if (bmain->versionfile < 250 || (bmain->versionfile == 250 && bmain->subversionfile < 8)) {
                wmKeyMap *km;
                
-               for(km=U.keymaps.first; km; km=km->next) {
+               for(km=U.user_keymaps.first; km; km=km->next) {
                        if (strcmp(km->idname, "Armature_Sketch")==0)
                                strcpy(km->idname, "Armature Sketch");
                        else if (strcmp(km->idname, "View3D")==0)