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:
authorThomas Dinges <blender@dingto.org>2011-09-23 09:20:15 +0400
committerThomas Dinges <blender@dingto.org>2011-09-23 09:20:15 +0400
commit728cf26ee4ae0b60a7e3dadf13ff82fe00bd32eb (patch)
treebac82173db1186b78a4e2342a394de2dcff00f99 /release
parent458b920abb8deafa99e420b8edc0adbaee144cda (diff)
* Fix for the Operator move commit, missed includes.
* import os at the beginning of file
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/wm.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 44344487a26..9b037f7dc09 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -26,6 +26,9 @@ from bpy.props import (StringProperty,
FloatProperty,
EnumProperty,
)
+
+import addon_utils
+import os
from rna_prop_ui import rna_idprop_ui_prop_get, rna_idprop_ui_prop_clear
@@ -755,7 +758,6 @@ class WM_OT_path_open(Operator):
def execute(self, context):
import sys
- import os
import subprocess
filepath = bpy.path.abspath(self.filepath)
@@ -1100,7 +1102,6 @@ class WM_OT_appconfig_default(Operator):
bl_label = "Default Application Configuration"
def execute(self, context):
- import os
context.window_manager.keyconfigs.active = context.window_manager.keyconfigs.default
@@ -1122,7 +1123,6 @@ class WM_OT_appconfig_activate(Operator):
)
def execute(self, context):
- import os
bpy.utils.keyconfig_set(self.filepath)
filepath = self.filepath.replace("keyconfig", "interaction")
@@ -1150,7 +1150,6 @@ class WM_OT_copy_prev_settings(Operator):
bl_label = "Copy Previous Settings"
def execute(self, context):
- import os
import shutil
ver = bpy.app.version
ver_old = ((ver[0] * 100) + ver[1]) - 1