Fix for custom property editor when property id's contained quotes

Adds bpy.utils.escape_identifier()
This commit is contained in:
2014-02-25 16:18:10 +11:00
parent 6a43c2ac1a
commit 18f6bb04fa
3 changed files with 58 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ not associated with blenders internal data.
__all__ = (
"blend_paths",
"escape_identifier",
"keyconfig_set",
"load_scripts",
"modules_from_path",
@@ -48,7 +49,13 @@ __all__ = (
"user_resource",
)
from _bpy import register_class, unregister_class, blend_paths, resource_path
from _bpy import (
escape_identifier,
register_class,
unregister_class,
blend_paths,
resource_path,
)
from _bpy import script_paths as _bpy_script_paths
from _bpy import user_resource as _user_resource