[Bf-blender-cvs] [00d2dfa93ae] master: Forgot to return actual value in previous own commit.
Bastien Montagne
noreply at git.blender.org
Wed Feb 7 22:26:59 CET 2018
Commit: 00d2dfa93ae8a84b163930246709c50b8ee1e148
Author: Bastien Montagne
Date: Wed Feb 7 22:26:11 2018 +0100
Branches: master
https://developer.blender.org/rB00d2dfa93ae8a84b163930246709c50b8ee1e148
Forgot to return actual value in previous own commit.
Sorry about the noise...
===================================================================
M source/blender/windowmanager/intern/wm_files_link.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_files_link.c b/source/blender/windowmanager/intern/wm_files_link.c
index 171863454d9..fb611290aa5 100644
--- a/source/blender/windowmanager/intern/wm_files_link.c
+++ b/source/blender/windowmanager/intern/wm_files_link.c
@@ -403,7 +403,7 @@ static int wm_link_append_exec(bContext *C, wmOperator *op)
if (lapp_data->num_items == 0) {
/* Early out in case there is nothing to link. */
wm_link_append_data_free(lapp_data);
- return;
+ return OPERATOR_CANCELLED;
}
/* XXX We'd need re-entrant locking on Main for this to work... */
More information about the Bf-blender-cvs
mailing list