forked from bartvdbraak/blender
fix for missing import
This commit is contained in:
parent
a8129f6b41
commit
048d3dc587
@ -24,7 +24,7 @@ functions for dealing with paths in Blender.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import bpy as _bpy
|
import bpy as _bpy
|
||||||
|
import os as _os
|
||||||
|
|
||||||
def expand(path):
|
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.
|
Capitalize the first letter in all lowercase names, mixed case names are kept as is.
|
||||||
Intended for use with filenames and module names.
|
Intended for use with filenames and module names.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name_base = _os.path.splitext(name)[0]
|
name_base = _os.path.splitext(name)[0]
|
||||||
|
|
||||||
# string replacements
|
# string replacements
|
||||||
|
Loading…
Reference in New Issue
Block a user