mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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::
|
void RenderState::
|
||||||
determine_billboard() {
|
determine_billboard() {
|
||||||
const RenderAttrib *attrib = get_attrib(BillboardAttrib::get_class_type());
|
const RenderAttrib *attrib = get_attrib(BillboardAttrib::get_class_type());
|
||||||
|
_billboard = (const BillboardAttrib *)NULL;
|
||||||
if (attrib != (const RenderAttrib *)NULL) {
|
if (attrib != (const RenderAttrib *)NULL) {
|
||||||
_billboard = DCAST(BillboardAttrib, attrib);
|
_billboard = DCAST(BillboardAttrib, attrib);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user