Warn the user that changes to resources will be lost when editing imported or instanced resources from scenes.

This commit is contained in:
Juan Linietsky
2017-09-14 10:38:59 -03:00
parent 8c08f2380d
commit 7e3c5043c1
2 changed files with 56 additions and 0 deletions

View File

@@ -262,6 +262,9 @@ private:
Button *property_forward;
SceneTreeDock *scene_tree_dock;
PropertyEditor *property_editor;
Button *property_editable_warning;
AcceptDialog *property_editable_warning_dialog;
void _property_editable_warning_pressed();
NodeDock *node_dock;
ImportDock *import_dock;
VBoxContainer *prop_editor_vb;
@@ -606,6 +609,7 @@ private:
void _license_tree_selected();
protected:
void _notification(int p_what);
static void _bind_methods();