Port ImportDock and ProjectExport to new property editor (2nd try)

Thanks to @ibrahn for helping debug the crashes caused in ProjectExportDialog
by the stray `update_tree()` call, no longer needed in the new inspector.
This commit is contained in:
Rémi Verschelde
2018-08-18 15:07:23 +02:00
parent 30bfe5c942
commit e7c5aca040
4 changed files with 18 additions and 21 deletions
+6 -4
View File
@@ -31,10 +31,12 @@
#ifndef IMPORTDOCK_H
#define IMPORTDOCK_H
#include "editor_file_system.h"
#include "io/resource_import.h"
#include "property_editor.h"
#include "core/io/config_file.h"
#include "core/io/resource_import.h"
#include "editor/editor_file_system.h"
#include "editor/editor_inspector.h"
#include "scene/gui/box_container.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/option_button.h"
#include "scene/gui/popup_menu.h"
@@ -45,7 +47,7 @@ class ImportDock : public VBoxContainer {
Label *imported;
OptionButton *import_as;
MenuButton *preset;
PropertyEditor *import_opts;
EditorInspector *import_opts;
List<PropertyInfo> properties;
Map<StringName, Variant> property_values;