Example #1
0
def nla_editor(km):
	pass

def uv_editor(km):
	pass
			
def sequence_editor(km):
	pass

def text(km):
	pass

def file_browser(km):
	pass
		
km_navigation_3d = KeyMaps()
km_navigation_2d = KeyMaps()
km_viowport = KeyMaps()
km_sculpt = KeyMaps()
km_uv_editor = KeyMaps()
km_node_editor = KeyMaps()
km_text_editor = KeyMaps()
km_graph_editor = KeyMaps()
km_clip_editor = KeyMaps()
km_video_sequencer = KeyMaps()
km_file_browser = KeyMaps()
km_float_menu = KeyMaps()

def register_modo(preferences):
	if bpy.context.window_manager.keyconfigs.addon:
		if preferences.navigation_3d == "Modo":
Example #2
0
        app = preferences.navigation
        if app == 'Blender':
            navigation_Blender(km, preferences)
        elif app == '3DsMax':
            navigation_3dsmax(km, preferences)
        elif app == 'Maya':
            navigation_maya(km, preferences)
        elif app == 'Modo':
            navigation_modo(km, preferences)
        elif app == 'Softimage':
            navigation_softimage(km, preferences)
        elif app == 'Cinema4D':
            navigation_cinema4d(km, preferences)
        elif app == 'UnrealEngin':
            navigation_unrealengin(km, preferences)
        public_keymaps(km, preferences)


keymaps = KeyMaps()


def register_navigation(preferences):
    keymaps.unregister()
    create_keymaps(keymaps, preferences)
    collect_mute_keymaps(keymaps)
    keymaps.register()


def unregister_navigation():
    keymaps.unregister()