void RvizLogo::onDisable() { if (frame_) { frame_->Show(false); } else { WindowManagerInterface* wm = vis_manager_->getWindowManager(); wm->closePane(panel_); } }
void CameraDisplaySave::onDisable() { render_panel_->getRenderWindow()->setActive(false); if (frame_) { frame_->Show(false); } else { WindowManagerInterface* wm = vis_manager_->getWindowManager(); wm->closePane(render_panel_); } unsubscribe(); clear(); }