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:
authorBastien Montagne <montagne29@wanadoo.fr>2012-07-18 12:51:19 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-07-18 12:51:19 +0400
commite204d67cc79f2a7851611a4558ad95bb1b624859 (patch)
tree5cfbabb8187a4f196b47523a8bb02e7b21753173 /release/scripts/modules/bpy
parent64cc69cafc2fda9b70c40a1806abd371c7e80df1 (diff)
Fix [#32135] FRAMERATE: Framerate display is truncated in selection box.
Filename extension was striped twice...
Diffstat (limited to 'release/scripts/modules/bpy')
-rw-r--r--release/scripts/modules/bpy/path.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/release/scripts/modules/bpy/path.py b/release/scripts/modules/bpy/path.py
index 7b54af944ad..f1313b583f7 100644
--- a/release/scripts/modules/bpy/path.py
+++ b/release/scripts/modules/bpy/path.py
@@ -133,9 +133,6 @@ def display_name(name):
mixed case names are kept as is. Intended for use with
filenames and module names.
"""
-
- name = _os.path.splitext(name)[0]
-
# string replacements
name = name.replace("_colon_", ":")
@@ -154,7 +151,6 @@ def display_name_from_filepath(name):
ensured to be utf8 compatible.
"""
- name = _os.path.splitext(basename(name))[0]
name = _clean_utf8(name)
return name