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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-06 17:06:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-06 17:06:13 +0400
commit048d3dc587261f87938e04c1e6a91092f634ba8d (patch)
tree97c82d8bb38e517310507ef9c75d2e9b5b5232fa /release/scripts/modules/bpy/path.py
parenta8129f6b41df2f9916df63bc8477823317c38c44 (diff)
fix for missing import
Diffstat (limited to 'release/scripts/modules/bpy/path.py')
-rw-r--r--release/scripts/modules/bpy/path.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy/path.py b/release/scripts/modules/bpy/path.py
index 9f3e4be8347..2974615299b 100644
--- a/release/scripts/modules/bpy/path.py
+++ b/release/scripts/modules/bpy/path.py
@@ -24,7 +24,7 @@ functions for dealing with paths in Blender.
"""
import bpy as _bpy
-
+import os as _os
def expand(path):
"""
@@ -84,6 +84,7 @@ def display_name(name):
Capitalize the first letter in all lowercase names, mixed case names are kept as is.
Intended for use with filenames and module names.
"""
+
name_base = _os.path.splitext(name)[0]
# string replacements