Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-07 | Code Style: use "#pragma once" in source directory | Jacques Lucke | |
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466 | |||
2020-07-07 | Cleanup: spelling | Campbell Barton | |
2020-07-06 | Runtime cache preservation during undo: add support for nodes and embedded IDs. | Bastien Montagne | |
2020-07-06 | Fix T78608: Memory leak in Material properties: "Data from SCE". | Bastien Montagne | |
Caused by recent own refactor of cache presevation handling in readfile, EEVEE's lightcache are weird birds that can also be saved in .blend files, need a special handling for those 'persistent' caches... | |||
2020-07-06 | Cleanup: warnings, spelling | Campbell Barton | |
2020-07-03 | IDTypeInfo: add new callback to loop over all cache pointers of an ID. | Bastien Montagne | |
Part of D8183, refactoring how we preserve caches across undo steps in readfile code. | |||
2020-07-03 | Add key structure and hashing utils for ID caches. | Bastien Montagne | |
Part of D8183, refactoring how we preserve caches across undo steps in readfile code. | |||
2020-05-07 | Initial step to move libquery to IDTypeInfo. | Bastien Montagne | |
Part of T74960 (and hence T75724). This commit only adds the basics helper code, and alter some internal libquery code to use it. Porting each IDType to the new system will be done gradually from there, to allow better detection and handling of potential issues. Differential Revision: https://developer.blender.org/D7598 | |||
2020-04-20 | Simulations: Add new simulation data block | Jacques Lucke | |
This data block will be the container for simulation node trees. It will be used for the new particle node system (T73324). The new data block has the type `ID_SIM`. It is not visible to users and other developers by default yet. To enable it, activate the cmake option `WITH_NEW_SIMULATION_TYPE`. New simulation data blocks can be created by running `bpy.data.simulations.new("name")`. Reviewers: brecht Differential Revision: https://developer.blender.org/D7225 | |||
2020-04-03 | Cleanup: clarification of 'name' in BKE_idtype functions | Sybren A. Stüvel | |
The 'name' parameter of `BKE_idtype_idcode_from_name()`, and the `str` parameter of `idtype_get_info_from_name()`, are expected to be the 'user visible name' of an `IDTypeInfo` struct. This is made clearer in the code by renaming those parameters to `idtype_name` and mentioning it in the documentation of the `BKE_idtype_idcode_from_name()` function. Differential Revision: https://developer.blender.org/D7317 | |||
2020-03-19 | Cleanup/refactor: remove BKE_idcode, in favour of BKE_idtype. | Bastien Montagne | |
Mpving utils from idcode to idtype proved to be somewhat painful for some reasons, but now all looks good. Had to add a fake/empty shell for the special snowflake too, `ID_LINK_PLACEHOLDER/INDEX_ID_NULL`... | |||
2020-03-18 | Objects: add Volume object type, and prototypes for Hair and PointCloud | Brecht Van Lommel | |
Only the volume object is exposed in the user interface. It is based on OpenVDB internally. Drawing and rendering code will follow in another commit. https://wiki.blender.org/wiki/Source/Objects/Volume https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Volumes Hair and PointCloud object types are hidden behind a WITH_NEW_OBJECT_TYPES build option. These are unfinished, and included only to make it easier to cooperate on development in the future and avoid tricky merges. https://wiki.blender.org/wiki/Source/Objects/New_Object_Types Ref T73201, T68981 Differential Revision: https://developer.blender.org/D6945 | |||
2020-03-13 | Fix IDTypeInfo not having enough bits for ID filter flag | Brecht Van Lommel | |
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: Ipo: 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-09 | Cleanup: WorkSpace: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
2020-03-09 | Cleanup: WindowManager: Move to IDTypeInfo and remove unused WM API. | Bastien Montagne | |
Getting rid of one static 'registered' callback in BKE, yeah! | |||
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: bScreen: Move to IDTypeInfo and remove unused BKE API. | Bastien Montagne | |
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: Library: Move to IDTypeInfo, and remove unused BKE API. | Bastien Montagne | |
2020-03-06 | Cleanup: Scene: New IDTypeInfo, and remove unused API from BKE. | Bastien Montagne | |
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 |