[Bf-blender-cvs] [6e1fdd6] asset-engine: Actually hook async job of asset updating!

Bastien Montagne noreply at git.blender.org
Thu Apr 21 10:15:30 CEST 2016


Commit: 6e1fdd6f2d12253341acb9ef9405c439f721e6bd
Author: Bastien Montagne
Date:   Wed Apr 20 17:10:36 2016 +0200
Branches: asset-engine
https://developer.blender.org/rB6e1fdd6f2d12253341acb9ef9405c439f721e6bd

Actually hook async job of asset updating!

===================================================================

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 8aac80d..cdc3e7a 100644
--- a/source/blender/windowmanager/intern/wm_files_link.c
+++ b/source/blender/windowmanager/intern/wm_files_link.c
@@ -784,9 +784,8 @@ static void asset_updatecheck_start(const bContext *C)
 
 static int wm_assets_update_check_exec(bContext *C, wmOperator *UNUSED(op))
 {
-	Main *bmain = CTX_data_main(C);
-
-	BKE_assets_update_check(bmain);
+//	BKE_assets_update_check(CTX_data_main(C));
+	asset_updatecheck_start(C);
 
 	return OPERATOR_FINISHED;
 }




More information about the Bf-blender-cvs mailing list