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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-02-08 00:26:11 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-02-08 00:26:37 +0300
commit00d2dfa93ae8a84b163930246709c50b8ee1e148 (patch)
tree05c683565707a772db543dc46bb6345fb1946536
parent49745aa5ff63d054d36b3384ecb37835307e149c (diff)
Forgot to return actual value in previous own commit.
Sorry about the noise...
-rw-r--r--source/blender/windowmanager/intern/wm_files_link.c2
1 files changed, 1 insertions, 1 deletions
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... */