[Bf-blender-cvs] [f7793bd53c] master: Correct reading missing property
Campbell Barton
noreply at git.blender.org
Thu Mar 16 19:16:34 CET 2017
Commit: f7793bd53cfed25709b783559af07d047b33bc65
Author: Campbell Barton
Date: Fri Mar 17 05:20:09 2017 +1100
Branches: master
https://developer.blender.org/rBf7793bd53cfed25709b783559af07d047b33bc65
Correct reading missing property
===================================================================
M source/blender/windowmanager/intern/wm_files.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 555017a9aa..f218fce1be 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;
More information about the Bf-blender-cvs
mailing list