feat: new primitives get selected immediately
This commit is contained in:
parent
33da5f1772
commit
d736506eb4
6 changed files with 37 additions and 30 deletions
|
|
@ -48,6 +48,7 @@ void TerrainMeshEditor::_bind_methods() {
|
|||
|
||||
void TerrainMeshEditor::ready() {
|
||||
connect(sig_primitive_list_changed, callable_mp(this, &self_type::on_primitive_list_changed));
|
||||
connect(sig_primitive_added, callable_mp(this, &self_type::set_current_selected));
|
||||
load_new();
|
||||
if (FileDialog * dialog{ memnew(FileDialog) }) {
|
||||
this->file_dialog = dialog;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue