RS_Entity* RS_Hatch::clone() { RS_Hatch* t = new RS_Hatch(*this); t->setOwner(isOwner()); t->initId(); t->detach(); t->hatch = NULL; return t; }
RS_Entity* RS_Hatch::clone() const{ RS_Hatch* t = new RS_Hatch(*this); t->setOwner(isOwner()); t->initId(); t->detach(); t->hatch = nullptr; return t; }
RS_Entity* RS_Hatch::clone() const{ RS_DEBUG->print(RS_Debug::D_DEBUGGING, "RS_Hatch::clone()"); RS_Hatch* t = new RS_Hatch(*this); t->setOwner(isOwner()); t->initId(); t->detach(); t->update(); // t->hatch = nullptr; RS_DEBUG->print(RS_Debug::D_DEBUGGING, "RS_Hatch::clone(): OK"); return t; }