remove: Revert "NEW: add christmas cabin"

This reverts commit 19767aebb827abb83229e100a5ae38ff76de6478.

Change-Id: I2ccceae409a16598658a2b35ec56b11617dd0afa
This commit is contained in:
养乐多 2022-12-12 19:06:02 +08:00 committed by Lane.Wei
parent 32b46292b9
commit b5967505bd
8 changed files with 1 additions and 139 deletions

View file

@ -3503,18 +3503,6 @@ std::string GUI_App::handle_web_request(std::string cmd)
wxLaunchDefaultBrowser(path.value());
}
}
}
else if (command_str.compare("homepage_open_ccabin") == 0) {
if (root.get_child_optional("data") != boost::none) {
pt::ptree data_node = root.get_child("data");
boost::optional<std::string> path = data_node.get_optional<std::string>("file");
if (path.has_value())
{
std::string Fullpath = resources_dir() + "/web/homepage/model/" + path.value();
this->request_open_project(Fullpath);
}
}
}
}