Blender Git Loki
Git Commits -> Revision 29887bb
Revision 29887bb by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 26, 2021, 16:25 (GMT) |
Fix possible crash when blending poses I did some casting hack to return an `AssetHandle` from a `FileDirEntry`. But this doesn't actually work. What I added now isn't something I'm happy with either, but it will have to do for now. Basically we request an `AssetHandle`, which the Asset Browser doesn't actually store, since it's just a wrapper around the Asset Browser's `FileDirEntry`. So there is no consistent pointer the editor could return to context queries, and the context needs a pointer so that it can be passed around as `void *`. Eventually once we have the planned asset storage design implemented, the storage would include actual asset handles. So we can pass around consistent pointers to them then. |
Commit Details:
Full Hash: 29887bbb329da4fe298a794521fa510258707217
Parent Commit: c81b104
Lines Changed: +35, -21