rebuilding roads done, closes #20
This commit is contained in:
@@ -554,14 +554,12 @@ void StreamWorld::run_command(const String &command, const Array &args)
|
||||
} else if (command == "remove_generated_stuff") {
|
||||
remove_generated_stuff();
|
||||
update_items();
|
||||
} else if (command == "place") {
|
||||
if (args.size() == 0) {
|
||||
print_error("bad command: not enough args: " + command);
|
||||
return;
|
||||
}
|
||||
String what = args[0];
|
||||
if (what == "zebra")
|
||||
place_zebras();
|
||||
} else if (command == "rebuild_roads") {
|
||||
RoadProcessing::road_setup(this);
|
||||
print_line("road_rebuild done");
|
||||
} else if (command == "remove_road_meshes") {
|
||||
RoadProcessing::remove_road_meshes(this);
|
||||
print_line("remove_road_meshes done");
|
||||
} else
|
||||
print_error("No command " + command);
|
||||
}
|
||||
@@ -703,9 +701,6 @@ void StreamWorld::undo()
|
||||
update_view();
|
||||
update_items();
|
||||
}
|
||||
void StreamWorld::place_zebras()
|
||||
{
|
||||
}
|
||||
void StreamWorld::cleanup()
|
||||
{
|
||||
RoadProcessing::cleanup();
|
||||
|
||||
Reference in New Issue
Block a user