Almost separated the buildings editor
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "road_lines_editor.h"
|
||||
|
||||
static ImmediateGeometry *line_im = nullptr;
|
||||
// static ImmediateGeometry *debug_im = nullptr;
|
||||
static Ref<Material> debug_material;
|
||||
|
||||
#define __evhandler(vname, mtype) \
|
||||
@@ -946,7 +947,9 @@ void RoadLinesEditor::handle_input()
|
||||
}
|
||||
void RoadLinesEditor::place_zebras()
|
||||
{
|
||||
editor->remove_buildings_by_prefix("zebra");
|
||||
Array args;
|
||||
args.push_back("zebra");
|
||||
editor->editor_command("remove_buildings_by_prefix", args);
|
||||
/*
|
||||
func place_zebras():
|
||||
var road_nodes = SceneComps.get_component("road_nodes2")
|
||||
|
||||
Reference in New Issue
Block a user