summaryrefslogtreecommitdiff
path: root/editor/editor_inspector.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-12-12 20:56:57 +0100
committerGitHub <noreply@github.com>2021-12-12 20:56:57 +0100
commitef1d59cf1b3dd2d03ae9272550af7870e49b02ba (patch)
treee9d3d8c8896aa8e9bd355b104f2bc90ac78b03d1 /editor/editor_inspector.h
parentdd869bd2a73cd15dfc883fbcd2336b87efde8ecf (diff)
parent18663aa305ef1ed5c87efd74425146112322b91f (diff)
Merge pull request #55816 from RandomShaper/fix_revert_null_defaults
Diffstat (limited to 'editor/editor_inspector.h')
-rw-r--r--editor/editor_inspector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_inspector.h b/editor/editor_inspector.h
index f2dfe32f82..d247978649 100644
--- a/editor/editor_inspector.h
+++ b/editor/editor_inspector.h
@@ -46,7 +46,7 @@ public:
static bool get_instantiated_node_original_property(Node *p_node, const StringName &p_prop, Variant &value, bool p_check_class_default = true);
static bool is_node_property_different(Node *p_node, const Variant &p_current, const Variant &p_orig);
static bool is_property_value_different(const Variant &p_a, const Variant &p_b);
- static Variant get_property_revert_value(Object *p_object, const StringName &p_property);
+ static Variant get_property_revert_value(Object *p_object, const StringName &p_property, bool *r_is_valid);
static bool can_property_revert(Object *p_object, const StringName &p_property);
};