From 67d0ccf686ecc180ebd1b287585263c9c38a39fe Mon Sep 17 00:00:00 2001 From: "Aditia A. Pratama" Date: Mon, 8 Dec 2014 17:06:45 +0700 Subject: [PATCH 1/2] add subtype for dirpath --- layout_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout_tools.py b/layout_tools.py index 3b43358..6c80c4f 100644 --- a/layout_tools.py +++ b/layout_tools.py @@ -101,7 +101,8 @@ class OHA_LayoutToolsPreferences(bpy.types.AddonPreferences): name="Base Layout Path", description="""Base path for all extracted sound and .blend files. %(blendname): Name of current .blend file.""", - default="../%(blendname)") + default="../%(blendname)", + subtype='DIR_PATH') is_render_video = bpy.props.BoolProperty( name="Render Video", From 94ecf125252e2887362da6bbd7fc10643e1ea7fb Mon Sep 17 00:00:00 2001 From: "Aditia A. Pratama" Date: Mon, 8 Dec 2014 17:06:45 +0700 Subject: [PATCH 2/2] add subtype for dirpath --- layout_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout_tools.py b/layout_tools.py index faef4c0..f305f1c 100644 --- a/layout_tools.py +++ b/layout_tools.py @@ -101,7 +101,8 @@ class OHA_LayoutToolsPreferences(bpy.types.AddonPreferences): name="Base Layout Path", description="""Base path for all extracted sound and .blend files. %(blendname): Name of current .blend file.""", - default="../%(blendname)") + default="../%(blendname)", + subtype='DIR_PATH') is_render_video = bpy.props.BoolProperty( name="Render Video",