more granular debug messages for appearances so we can know for sure which caller it is missing them

This commit is contained in:
DarthArgus
2016-01-10 20:39:30 -06:00
parent 45c48efbfc
commit f952820391
9 changed files with 32 additions and 5 deletions
@@ -212,6 +212,8 @@ void DoorObject::createAppearance ( DoorInfo const & info )
if (appearance != NULL) {
setAppearance(appearance);
} else {
DEBUG_WARNING(true, ("FIX ME: Appearance template for DoorObject::createAppearance missing, first stanza."));
}
}
@@ -237,6 +239,8 @@ void DoorObject::createAppearance ( DoorInfo const & info )
Extent * appearanceExtent = new Extent( Containment3d::EncloseSphere(verts) );
appearanceExtent->incrementReference();
appearance->setExtent( appearanceExtent );
} else {
DEBUG_WARNING(true, ("FIX ME: Appearance template for DoorObject::createAppearance missing, second stanza."));
}
}
else
@@ -247,6 +251,8 @@ void DoorObject::createAppearance ( DoorInfo const & info )
if (appearance != NULL) {
m_drawnDoor[0]->setAppearance(appearance);
} else {
DEBUG_WARNING(true, ("FIX ME: Appearance template for DoorObject::createAppearance missing, third stanza."));
}
}
@@ -259,6 +265,8 @@ void DoorObject::createAppearance ( DoorInfo const & info )
if (appearance != NULL) {
m_drawnDoor[1]->setAppearance(appearance);
} else {
DEBUG_WARNING(true, ("FIX ME: Appearance template for DoorObject::createAppearance missing, fourth stanza."));
}
if (info.m_doorFlip2)