From 9813829912aa24606a4f8e71ad3887f6328487d3 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 1 Mar 2002 17:24:08 +0000 Subject: [PATCH] billboard oops --- panda/src/pgraph/renderState.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/pgraph/renderState.cxx b/panda/src/pgraph/renderState.cxx index 2c44f3d839..32483aeccf 100644 --- a/panda/src/pgraph/renderState.cxx +++ b/panda/src/pgraph/renderState.cxx @@ -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); }