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:
authorCampbell Barton <ideasman42@gmail.com>2017-03-16 21:20:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-16 21:20:50 +0300
commitf7793bd53cfed25709b783559af07d047b33bc65 (patch)
treef97905742c5c2166934f5d76b97fc61abe32fdec
parent1f65ab606bcaa6ef60a9e7c9b08b134d46c25e42 (diff)
Correct reading missing property
-rw-r--r--source/blender/windowmanager/intern/wm_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 555017a9aac..f218fce1be3 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1435,7 +1435,7 @@ static int wm_homefile_read_exec(bContext *C, wmOperator *op)
if (wm_homefile_read(C, op->reports, from_memory, filepath)) {
/* Load a file but keep the splash open */
- if (RNA_boolean_get(op->ptr, "use_splash")) {
+ if (!from_memory && RNA_boolean_get(op->ptr, "use_splash")) {
WM_init_splash(C);
}
return OPERATOR_FINISHED;