mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
reorder vrefs and children again
This commit is contained in:
parent
edbef4a7ce
commit
d97c703079
@ -287,9 +287,11 @@ write(ostream &out, int indent_level) const {
|
||||
|
||||
EggRenderMode::write(out, indent_level + 2);
|
||||
|
||||
write_vertex_ref(out, indent_level + 2);
|
||||
|
||||
// We have to write the children nodes before we write the vertex
|
||||
// references, since we might be referencing a vertex that's defined
|
||||
// in one of those children nodes!
|
||||
EggGroupNode::write(out, indent_level + 2);
|
||||
write_vertex_ref(out, indent_level + 2);
|
||||
|
||||
indent(out, indent_level) << "}\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user