Additional Sentry message ignores: add AC3D
These make the reports very noisy for no value.
This commit is contained in:
parent
7597887e60
commit
2b54078023
1 changed files with 5 additions and 2 deletions
|
@ -92,9 +92,12 @@ public:
|
||||||
|
|
||||||
if (e.debugClass == SG_OSG) {
|
if (e.debugClass == SG_OSG) {
|
||||||
// white-list certain common OSG warnings to avoid filling up the
|
// white-list certain common OSG warnings to avoid filling up the
|
||||||
// breadcrumsb with noise
|
// breadcrumbs with noise
|
||||||
if ((e.message == "PNG lib warning : iCCP: known incorrect sRGB profile")
|
if ((e.message == "PNG lib warning : iCCP: known incorrect sRGB profile")
|
||||||
|| (e.message == "PNG lib warning : iCCP: profile 'ICC Profile': 1000000h: invalid rendering intent"))
|
|| (e.message == "PNG lib warning : iCCP: profile 'ICC Profile': 1000000h: invalid rendering intent")
|
||||||
|
|| (e.message.find("osgDB ac3d reader: detected surface with less than 3") == 0)
|
||||||
|
|| (e.message.find("osgDB ac3d reader: detected line with less than 2") == 0)
|
||||||
|
)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue