From e204d67cc79f2a7851611a4558ad95bb1b624859 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 18 Jul 2012 08:51:19 +0000 Subject: Fix [#32135] FRAMERATE: Framerate display is truncated in selection box. Filename extension was striped twice... --- release/scripts/modules/bpy/path.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'release/scripts/modules/bpy') 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 -- cgit v1.2.3