billboard oops

This commit is contained in:
David Rose 2002-03-01 17:24:08 +00:00
parent ab47c66154
commit 9813829912

View File

@ -852,6 +852,7 @@ do_invert_compose(const RenderState *other) const {
void RenderState::
determine_billboard() {
const RenderAttrib *attrib = get_attrib(BillboardAttrib::get_class_type());
_billboard = (const BillboardAttrib *)NULL;
if (attrib != (const RenderAttrib *)NULL) {
_billboard = DCAST(BillboardAttrib, attrib);
}