[Bf-blender-cvs] [e0de4f3594f] asset-browser-poselib: Fix error on `context.copy()` because of asset-handle design

Julian Eisel noreply at git.blender.org
Fri Apr 9 12:57:23 CEST 2021


Commit: e0de4f3594fca4cf8cedcfdb11fabfef4311fcb9
Author: Julian Eisel
Date:   Fri Apr 9 12:55:27 2021 +0200
Branches: asset-browser-poselib
https://developer.blender.org/rBe0de4f3594fca4cf8cedcfdb11fabfef4311fcb9

Fix error on `context.copy()` because of asset-handle design

The File/Asset Browser no longer provides the `asset_handle` pointer. In
Python `asset_file_handle` needs to be used for now (will change in
future).

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

M	source/blender/editors/space_file/space_file.c

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

diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index 210f78033ca..e91e7169887 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -849,7 +849,6 @@ static void file_space_subtype_item_extend(bContext *UNUSED(C),
 
 static const char *file_context_dir[] = {
     "active_file",
-    "asset_handle",
     "asset_library",
     "id",
     NULL,



More information about the Bf-blender-cvs mailing list