diff options
Diffstat (limited to 'editor/editor_properties.h')
-rw-r--r-- | editor/editor_properties.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_properties.h b/editor/editor_properties.h index 2051ab4019..3118b929c4 100644 --- a/editor/editor_properties.h +++ b/editor/editor_properties.h @@ -499,6 +499,7 @@ class EditorPropertyNodePath : public EditorProperty { Button *clear; SceneTreeDialog *scene_tree; NodePath base_hint; + bool guess_path_from_editor_history; Vector<StringName> valid_types; void _node_selected(const NodePath &p_path); @@ -511,7 +512,7 @@ protected: public: virtual void update_property(); - void setup(const NodePath &p_base_hint, Vector<StringName> p_valid_types); + void setup(const NodePath &p_base_hint, Vector<StringName> p_valid_types, bool p_guess_path_from_editor_history = true); EditorPropertyNodePath(); }; |