81bb2a143c
Fix T75730: Properly remove unused override properties/operations.
...
While code is supposed to handle gracefully invalid override operations,
it is much cleaner to avoid those completely.
2020-04-16 16:21:11 +02:00
dac6091207
Fix (unreported) crash on use-after-free in liboverride deletion code.
2020-04-16 16:21:11 +02:00
0438944b34
Refactor/strengthen a bit invalid operands checks when applying an override operation.
2020-04-16 16:21:11 +02:00
d138cbfb47
Code Quality: Replace for loops with LISTBASE_FOREACH
...
Note this only changes cases where the variable was declared inside
the for loop. To handle it outside as well is a different challenge.
Differential Revision: https://developer.blender.org/D7320
2020-04-03 19:27:46 +02:00
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
90ce708ef0
BKE_lib_id: Add helper to swap full ID content and use proper naming.
...
Preliminary work for undo-speedup.
Part of T60695/D6580.
2020-03-17 11:13:14 +01:00
9f07c03d20
Cleanup: unused headers
2020-02-11 11:54:50 +11:00
e75e29ee47
Cleanup: Rename BKE_library_override_ functions to BKE_lib_override_library_
...
pqrt of T72604.
2020-02-10 18:05:19 +01:00
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