mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -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);
|
||||
}
|
||||
|
||||
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());
|
||||
if (attrib != (const RenderAttrib *)NULL) {
|
||||
int override = collect_state->get_override(ClipPlaneAttrib::get_class_type());
|
||||
|
Loading…
x
Reference in New Issue
Block a user