blender/release/scripts/presets/interaction/blender.py

17 lines
760 B
Python
Raw Normal View History

2010-04-14 06:45:22 +00:00
# Configuration Blender
import bpy
wm = bpy.context.window_manager
wm.keyconfigs.active = wm.keyconfigs['Blender']
2010-04-14 06:45:22 +00:00
bpy.context.user_preferences.view.use_mouse_auto_depth = False
bpy.context.user_preferences.view.use_zoom_to_mouse = False
bpy.context.user_preferences.view.use_rotate_around_active = False
bpy.context.user_preferences.edit.use_drag_immediately = False
bpy.context.user_preferences.edit.use_insertkey_xyz_to_rgb = False
2010-04-14 06:45:22 +00:00
bpy.context.user_preferences.inputs.select_mouse = 'RIGHT'
bpy.context.user_preferences.inputs.view_zoom_method = 'DOLLY'
bpy.context.user_preferences.inputs.view_zoom_axis = 'VERTICAL'
bpy.context.user_preferences.inputs.view_rotate_method = 'TRACKBALL'
bpy.context.user_preferences.inputs.invert_mouse_wheel_zoom = False