Silence assert on ID usercount for deprecated IPO.
We do not really care about those, so just avoid the noise when loading very old files... Re T75389.
This commit is contained in:
@@ -320,7 +320,11 @@ void id_us_min(ID *id)
|
||||
id->lib ? id->lib->filepath : "[Main]",
|
||||
id->us,
|
||||
limit);
|
||||
if (GS(id->name) != ID_IP) {
|
||||
/* Do not assert on deprecated ID types, we cannot really ensure that their ID refcounting
|
||||
* is valid... */
|
||||
BLI_assert(0);
|
||||
}
|
||||
id->us = limit;
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user