INNER CODE UNIT · Python

walk_keymaps

SpectralVectors/RightMouseNavigation · preferences.py:511

        def walk_keymaps(keyconfig):
            walk_km = keyconfig.keymaps["View3D Walk Modal"]

            for key in walk_km.keymap_items:
                addon_keymaps.append((walk_km, key))

        try:
            walk_keymaps(active_keyconfig)
        except:
            walk_keymaps(blender_keyconfig)
        finally:
            walk_keymaps(user_keyconfig)

        # Navigation Keymap Box
        header, panel = layout.panel(idname="keymap", default_closed=True)
        header.label(text="Navigation Keymap")

        wm = bpy.context.window_manager

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…