Merge branch 'blender-v2.90-release' into master
This commit is contained in:
commit
fd6725cbfb
|
@ -484,13 +484,13 @@ static bool rna_property_override_operation_apply(Main *bmain,
|
|||
/* Special case for IDProps, we use default callback then. */
|
||||
if (prop_dst->magic != RNA_MAGIC) {
|
||||
override_apply = rna_property_override_apply_default;
|
||||
if (prop_src->magic == RNA_MAGIC && prop_src->override_apply != override_apply) {
|
||||
if (prop_src->magic == RNA_MAGIC && !ELEM(prop_src->override_apply, NULL, override_apply)) {
|
||||
override_apply = NULL;
|
||||
}
|
||||
}
|
||||
else if (prop_src->magic != RNA_MAGIC) {
|
||||
override_apply = rna_property_override_apply_default;
|
||||
if (prop_dst->override_apply != override_apply) {
|
||||
if (!ELEM(prop_dst->override_apply, NULL, override_apply)) {
|
||||
override_apply = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue