mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fix oops on flatten
This commit is contained in:
parent
1578173ccc
commit
2526ff3af1
@ -186,13 +186,6 @@ collect(PandaNode *node, int attrib_types) {
|
|||||||
keep_state = keep_state->add_attrib(attrib, override);
|
keep_state = keep_state->add_attrib(attrib, override);
|
||||||
}
|
}
|
||||||
|
|
||||||
attrib = collect_state->get_attrib(TextureAttrib::get_class_type());
|
|
||||||
if (attrib != (const RenderAttrib *)NULL) {
|
|
||||||
int override = collect_state->get_override(TextureAttrib::get_class_type());
|
|
||||||
collect_state = collect_state->remove_attrib(TextureAttrib::get_class_type());
|
|
||||||
keep_state = keep_state->add_attrib(attrib, override);
|
|
||||||
}
|
|
||||||
|
|
||||||
attrib = collect_state->get_attrib(ClipPlaneAttrib::get_class_type());
|
attrib = collect_state->get_attrib(ClipPlaneAttrib::get_class_type());
|
||||||
if (attrib != (const RenderAttrib *)NULL) {
|
if (attrib != (const RenderAttrib *)NULL) {
|
||||||
int override = collect_state->get_override(ClipPlaneAttrib::get_class_type());
|
int override = collect_state->get_override(ClipPlaneAttrib::get_class_type());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user