Fix (unreported) bug in liboverride diffing code for collection item insertion.
In case we do not use names, code adding new insert operations in collections was broken. Not a proble in practice so far, since this case was not yet in use, but will be soon with NLA overrides.
This commit is contained in:
parent
07db110add
commit
96995b2343
|
@ -1879,7 +1879,7 @@ int rna_property_override_diff_default(Main *bmain,
|
|||
BKE_lib_override_library_property_operation_get(op,
|
||||
IDOVERRIDE_LIBRARY_OP_INSERT_AFTER,
|
||||
NULL,
|
||||
prev_propname_a,
|
||||
no_prop_name ? NULL : prev_propname_a,
|
||||
-1,
|
||||
idx_a - 1,
|
||||
true,
|
||||
|
|
Loading…
Reference in New Issue