Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-09 | Cleanup: Remove unused switch/case from BKE_lib_id. | Bastien Montagne | |
Only covers direct usages of new callbacks from IDTypeInfo. We still have a lot of those switch/case, many can probably go away with minimal refactor now, but that will be for later. | |||
2020-03-09 | Cleanup: palette: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-09 | Cleanup: GreasePencil: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-09 | Cleanup: FreestyleLineStyle: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-09 | Cleanup: Mask: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-09 | Cleanup: MovieClip: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-09 | Cleanup: ParticleSettings: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-09 | Cleanup: PaintCurve: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-09 | Cleanup: CacheFile: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-08 | Cleanup: Sound: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-08 | Cleanup: Speaker: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: VFont: Move to IDTypeInfo and remove unused BKE API | Dalai Felinto | |
This was particularly strange because we had a _free_data() function. But still the one I replaced was of course the _free() one. And we should rename the _free_data_ function later to avoid confusions. | |||
2020-03-06 | Cleanup: Text: Move to IDTypeInfo and remove unused BKE API. | Dalai Felinto | |
2020-03-06 | Cleanup: Image: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: Texture: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: Material: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: Action: Move to IDTypeInfo, and remove unused BKE API. | Dalai Felinto | |
2020-03-06 | Cleanup: Armature: Move to IDTypeInfo, and remove unused BKE API. | Dalai Felinto | |
2020-03-06 | Cleanup: Lattice: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: MetaBall: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: Curve: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: Mesh: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: Collection: Move to IDTypeInfo, and remove unused BKE API. | Dalai Felinto | |
Note: we still need BKE_collection_free since we call it from scene.c. | |||
2020-03-06 | Cleanup: bNodeTree: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: Brush: Move to IDTypeInfo, and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: ShapeKey: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: move camera, lights, world to IDTypeInfo | Brecht Van Lommel | |
2020-03-06 | Cleanup: Object: remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: Scene: New IDTypeInfo, and remove unused API from BKE. | Bastien Montagne | |
2020-03-05 | Add an session-wise uuid integer to IDs. | Bastien Montagne | |
"session-wise" here mean while editing a same .blend file. So creating or opening a new one will reset the uuid counter. This should avoid any overflow in practice. Only IDs added to Main database get an uuid, runtime-only ones are not affected. This is intended to provide undo with a way to find IDs across several 'memory realms' (undo speedup project). No behavior change is expected from this commit itself. Part of T60695. Differential Revision: https://developer.blender.org/D7007 | |||
2020-03-05 | Initial step for IDTypeInfo refactor 'cleanup' project. | Bastien Montagne | |
Introduce new IDTypeInfo structure. Each ID type will have its own, with some minimal basic common info, and ID management callbacks. This patch only does it for Object type, for demo/testing purpose. Moving all existing IDs is a goal of next "cleanup Friday". Note that BKE_idcode features should then be merged back into BKE_idtype - but this will have to be done later, once all ID types have been properly converted to the new system. Another later TODO might be to try and add callbacks for file read/write, and lib_query ID usages looper. This is part of T73719. Thanks to @brecht for initial idea, and reviewing the patch. Differential Revision: https://developer.blender.org/D6966 | |||
2020-03-04 | Refactor ID make local to use a single flag parameter. | Bastien Montagne | |
Instead of using anonymous booleans flags, also allows to keep the same behavior in all cases, without needing special handling from calling code for our beloved oddballs object proxies... | |||
2020-03-04 | Cleanup: ID make local: remove `id_in_bmain` argument. | Bastien Montagne | |
This info is now stored in ID tags themselves, so no need to pass an extra anonymous boolean parameter around, yay! | |||
2020-03-04 | Cleanup: Rename 'make local' functions to new scheme. | Bastien Montagne | |
Also removed some only used locally from the header, `BKE_lib_id.h` is already way too big, no need to overload it with unused things. | |||
2020-02-18 | libquery: add optional handling of 'UI' ID pointers. | Bastien Montagne | |
Handling those through different ways /might/ be needed sometimes, but in most case this is just a nest of issues, since you can easily forget to take them into account. Note that this should be a 'non-functional' change, as this new behavior is not used anywhere yet. | |||
2020-02-13 | Refactor libquery ID looper callback to take a single parameter. | Bastien Montagne | |
Using a struct here allows to change given parameters to the callbacks without having to edit all callbacks functions, which is always noisy and time consuming. | |||
2020-02-11 | Cleanup: unused headers | Campbell Barton | |
2020-02-10 | Refactor: move `Library`-specific functions into proper `BKE_library` file. | Bastien Montagne | |
Even though we do not have much of those, this might change in the future, and in any case having specific functions for this ID type in generic `BKE_lib` area was really confusing. | |||
2020-02-10 | Cleanup CLOG identifiers in BKE_lib' implementation files. | Bastien Montagne | |
2020-02-10 | Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`. | Bastien Montagne | |
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604. |