summaryrefslogtreecommitdiffstats
path: root/editor/editor_inspector.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-17 19:04:18 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-17 19:04:18 +0100
commit92fcbe2f5c1b0293dea581bc4b7bfd9d7e68a160 (patch)
tree278a62a255c68e3140b6a27abbc0355065d4a0e4 /editor/editor_inspector.h
parent21f0529aa923e8d337827074f15a5cf83f73c19a (diff)
downloadredot-engine-92fcbe2f5c1b0293dea581bc4b7bfd9d7e68a160.tar.gz
Revert "Allow configuration warnings to refer to a property"
This reverts commit bf37a9bac6ebfb09c0a374260c35ede8373ce427.
Diffstat (limited to 'editor/editor_inspector.h')
-rw-r--r--editor/editor_inspector.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/editor/editor_inspector.h b/editor/editor_inspector.h
index 2066002a03..0e908b7a14 100644
--- a/editor/editor_inspector.h
+++ b/editor/editor_inspector.h
@@ -76,7 +76,6 @@ private:
String doc_path;
bool internal = false;
bool has_doc_tooltip = false;
- AcceptDialog *warning_dialog = nullptr;
int property_usage;
@@ -99,8 +98,6 @@ private:
bool check_hover = false;
Rect2 delete_rect;
bool delete_hover = false;
- Rect2 configuration_warning_rect;
- bool configuration_warning_hover = false;
bool can_revert = false;
bool can_pin = false;
@@ -124,15 +121,12 @@ private:
Control *bottom_editor = nullptr;
PopupMenu *menu = nullptr;
- String configuration_warning;
-
HashMap<StringName, Variant> cache;
GDVIRTUAL0(_update_property)
GDVIRTUAL1(_set_read_only, bool)
void _update_pin_flags();
- void _update_configuration_warnings();
protected:
void _notification(int p_what);
@@ -209,9 +203,6 @@ public:
void set_name_split_ratio(float p_ratio);
float get_name_split_ratio() const;
- void set_configuration_warning(const String &p_configuration_warning);
- String get_configuration_warning() const;
-
void set_object_and_property(Object *p_object, const StringName &p_property);
virtual Control *make_custom_tooltip(const String &p_text) const override;
@@ -542,7 +533,6 @@ class EditorInspector : public ScrollContainer {
void _object_id_selected(const String &p_path, ObjectID p_id);
void _node_removed(Node *p_node);
- void _warning_changed(Node *p_node);
HashMap<StringName, int> per_array_page;
void _page_change_request(int p_new_page, const StringName &p_array_prefix);