22AsyncTask::DoneStatus ModelFlattenRequest::
26 NodePath np(
"flatten_root");
30 if (_orig->get_num_parents() == 0) {
31 PT(PandaNode) copy = _orig->make_copy();
32 copy->copy_children(_orig);
33 np.attach_new_node(copy);
35 np.attach_new_node(_orig);
void set_result(std::nullptr_t)
Sets this future's result.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.