Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/presets/interaction/blender.py')
-rw-r--r--release/scripts/presets/interaction/blender.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/release/scripts/presets/interaction/blender.py b/release/scripts/presets/interaction/blender.py
new file mode 100644
index 00000000000..63006b2008d
--- /dev/null
+++ b/release/scripts/presets/interaction/blender.py
@@ -0,0 +1,16 @@
+# Configuration Blender
+import bpy
+
+wm = bpy.context.manager
+wm.active_keyconfig = wm.keyconfigs['Blender']
+
+bpy.context.user_preferences.view.auto_depth = False
+bpy.context.user_preferences.view.zoom_to_mouse = False
+bpy.context.user_preferences.view.rotate_around_selection = False
+bpy.context.user_preferences.edit.drag_immediately = False
+bpy.context.user_preferences.edit.insertkey_xyz_to_rgb = False
+bpy.context.user_preferences.inputs.select_mouse = 'RIGHT'
+bpy.context.user_preferences.inputs.zoom_style = 'DOLLY'
+bpy.context.user_preferences.inputs.zoom_axis = 'VERTICAL'
+bpy.context.user_preferences.inputs.view_rotation = 'TRACKBALL'
+bpy.context.user_preferences.inputs.invert_zoom_direction = False