Fix [#32135] FRAMERATE: Framerate display is truncated in selection box.
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 18 Jul 2012 08:51:19 +0000 (08:51 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 18 Jul 2012 08:51:19 +0000 (08:51 +0000)
Filename extension was striped twice...

release/scripts/modules/bpy/path.py

index 7b54af944ada9bc05027a74c84f70dbb1c1bae56..f1313b583f764720ba923c11bb04e74db279bb57 100644 (file)
@@ -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