rebuilding roads done, closes #20
This commit is contained in:
@@ -240,7 +240,14 @@ void WorldEditor::editor_command(const String &command, const Array &args)
|
||||
} else if (command == "select_building") {
|
||||
select_building(args[0], args[1], args[2]);
|
||||
} else if (command == "remove_generated_stuff") {
|
||||
stream_world->run_command(command, args);
|
||||
if (stream_world)
|
||||
stream_world->run_command(command, args);
|
||||
} else if (command == "rebuild_roads") {
|
||||
if (stream_world)
|
||||
stream_world->run_command(command, args);
|
||||
} else if (command == "remove_road_meshes") {
|
||||
if (stream_world)
|
||||
stream_world->run_command(command, args);
|
||||
} else if (road_lines_editor) {
|
||||
road_lines_editor->editor_command(command, args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user