summaryrefslogtreecommitdiffstats
path: root/editor/editor_inspector.h
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2021-12-11 14:03:48 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2021-12-11 14:03:48 +0100
commit18663aa305ef1ed5c87efd74425146112322b91f (patch)
treebfbe62692d1b878aaf1364c69743ddb0b18e4aa6 /editor/editor_inspector.h
parent092a2861277e7df87aec10516d713d0bf4adba79 (diff)
downloadredot-engine-18663aa305ef1ed5c87efd74425146112322b91f.tar.gz
Stop asuming a default value of NIL means there's no default
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);
};