Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_script')
-rw-r--r--source/blender/editors/space_script/script_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_script/script_edit.c b/source/blender/editors/space_script/script_edit.c
index cf3f1ca07da..1194d4b254c 100644
--- a/source/blender/editors/space_script/script_edit.c
+++ b/source/blender/editors/space_script/script_edit.c
@@ -75,7 +75,6 @@ static int run_pyfile_exec(bContext *C, wmOperator *op)
void SCRIPT_OT_run_pyfile(wmOperatorType *ot)
{
-
/* identifiers */
ot->name= "Run python file";
ot->idname= "SCRIPT_OT_run_pyfile";
@@ -84,5 +83,6 @@ void SCRIPT_OT_run_pyfile(wmOperatorType *ot)
ot->exec= run_pyfile_exec;
ot->poll= ED_operator_areaactive;
- RNA_def_property(ot->srna, "filename", PROP_STRING, PROP_FILEPATH);
+ RNA_def_string_file_path(ot->srna, "filename", "", 512, "Filename", "");
}
+