Workaround for assert from 27da305a40

This worked for existing scenes but adding new objects was asserting
needs further investigation.
This commit is contained in:
Campbell Barton 2021-06-24 20:56:16 +10:00
parent 51568030e9
commit cbdddc5648
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@ struct ParametersComponentNode : public ComponentNode {
virtual bool need_tag_cow_before_update() override
{
if (ID_TYPE_SUPPORTS_PARAMS_WITHOUT_COW(owner->id_type)) {
BLI_assert(deg_copy_on_write_is_expanded(owner->id_cow));
/* Disabled as this is not true for newly added objects, needs investigation. */
// BLI_assert(deg_copy_on_write_is_expanded(owner->id_cow));
return false;
}
return true;