Bastien Montagne
514f80b0c4
Fix (unreported) broken logic in BKE_libblock_relink_to_newid
...
Existing code would not follow as expected into new sub-IDs if they were
only encoutered once in usages by parent IDs...
2020-06-17 17:06:05 +02:00
Antonio Vazquez
2bb9a465e6
Fix T76498: Refactoring - Rename BKE modifiers funtions
2020-05-08 10:34:35 +02:00
Dalai Felinto
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
Brecht Van Lommel
b0a1cf2c9a
Objects: add Volume object type, and prototypes for Hair and PointCloud
...
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-18 11:23:05 +01:00
Bastien Montagne
a9c0ad53e2
Cleanup: Typo in comments.
2020-03-11 17:29:20 +01:00
Bastien Montagne
68c0d77b0c
Cleanup: rename 'private' to 'embedded' for sub-data IDs.
...
'Private' can be a rather confusing term, especially when considering
its meaning in programming languages.
So now root node trees and master collections are 'embedded' IDs
instead.
2020-03-11 12:53:10 +01:00
Bastien Montagne
8820ab41bd
Cleanup in ID remapping code re owner_id vs. self_id.
...
The former is always a real, in-Main data-block, while the later, when
different, should be one of those embedded 'private' IDs (like root node
ree or master collection).
2020-03-11 12:53:10 +01:00
Bastien Montagne
0de5156a24
Cleanup: WindowManager: Move to IDTypeInfo and remove unused WM API.
...
Getting rid of one static 'registered' callback in BKE, yeah!
2020-03-09 12:49:04 +01:00
Bastien Montagne
f28bb6992f
Refactor libquery ID looper callback to take a single parameter.
...
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-13 16:23:42 +01:00
Campbell Barton
9f07c03d20
Cleanup: unused headers
2020-02-11 11:54:50 +11:00
Bastien Montagne
872ac349ad
Cleanup CLOG identifiers in BKE_lib' implementation files.
2020-02-10 16:31:45 +01:00
Bastien Montagne
ec6fcac628
Cleanup/Refactor: Move ID deletion into its own .c file.
...
Having functions defined in `BKE_lib_id.h` implemented into
`lib_remap.c` was confusing at best.
Besides trivial code splitting and header includes cleanup, had to add a
new `lib_intern.h` header for callbacks used by both remapping and
deletion code.
2020-02-10 15:56:11 +01:00
Bastien Montagne
56116bbdf4
Cleanup/refactor: Rename BKE_library files to BKE_lib.
...
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.
2020-02-10 13:00:42 +01:00