mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
billboard oops
This commit is contained in:
parent
ab47c66154
commit
9813829912
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user