BLI_strnlen
I created #104686 and am trying to get this done for the 3.5 release still, otherwise the import method selection becomes too confusing with the append-only essentials.
For this I also pushed…
Personally I prefer is_never_link
to make clear this is getting, not setting.
Code that changes scene data should do an undo push when done. If the undo doesn't behave as expected, that specific case should be investigated. I know that there were indeed cases with brush…
Why is any of this needed? Just passing ASSET_LIBRARY_ESSENTIALS
as the value should be fine.
I thought it would be fine since during loading you have access to the nested library, but I missed that here, where you need to do the query, you can only access the "All" one. I'd suggest to let…
This may in fact not be necessary, see blender/blender#104474 (comment).
Would suggest something like: "Show the basic building blocks and utilities coming with Blender.
I'd call this file AS_essentials_library.h
and name functions and all accordingly. Just use the same term as in Blender, avoids confusion (Bundle vs. Essentials).
This should be in the include_generated
block I guess (the name is terrible^^).
- The UI needs some updates to reflect the "never-link" assets. Discussed what to do exactly with Dalai and I'll try to work on this. It's important for this feature I think, but I'll work on it separately.