15 #include "modelFlattenRequest.h" 26 AsyncTask::DoneStatus ModelFlattenRequest::
34 if (_orig->get_num_parents() == 0) {
36 copy->copy_children(_orig);
37 np.attach_new_node(copy);
39 np.attach_new_node(_orig);
42 _model = np.get_child(0).node();
A basic node of the scene graph or data graph.
TypeHandle is the identifier used to differentiate C++ class types.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...