Blender Git Commit Log
Git Commits -> Revision 76dbc9a
Revision 76dbc9a by Julian Eisel (soc-2021-porting-modifiers-to-nodes-decimate, soc-2021-porting-modifiers-to-nodes_all) July 30, 2021, 14:56 (GMT) |
Cleanup: Centralize/unify asset library reference from/to enum code This was an open TODO, I wanted to have code for translating asset library references from and to enum values in a central place, and access that in the same way from both the Asset Browser and the Workspace RNA code. * Adds own file for the related functions. * Adds doxygen comments. * Updates RNA callbacks to properly use these functions. * Let these functions call each other, avoid duplicating logic. |
Commit Details:
Full Hash: 76dbc9a0e957a3263621a1657e73822ba869fbe4
Parent Commit: e775f22
Committed By: Fabian Schempp
Lines Changed: +172, -215
1 Added Path:
/source/blender/editors/asset/intern/asset_library_reference_enum.cc (+156, -0) (View)
7 Modified Paths:
/source/blender/editors/asset/asset_edit.cc (+0, -53) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/include/ED_asset.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_asset.c (+4, -57) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+0, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -101) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+4, -2) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/include/ED_asset.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_asset.c (+4, -57) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+0, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -101) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+4, -2) (Diff)