This commit is contained in:
Juan Linietsky
2019-01-14 15:52:43 -03:00
parent 91290f0ded
commit 95a5803c92
2 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -499,7 +499,7 @@ class EditorPropertyNodePath : public EditorProperty {
Button *clear;
SceneTreeDialog *scene_tree;
NodePath base_hint;
bool guess_path_from_editor_history;
bool use_path_from_scene_root;
Vector<StringName> valid_types;
void _node_selected(const NodePath &p_path);
@@ -512,7 +512,7 @@ protected:
public:
virtual void update_property();
void setup(const NodePath &p_base_hint, Vector<StringName> p_valid_types, bool p_guess_path_from_editor_history = true);
void setup(const NodePath &p_base_hint, Vector<StringName> p_valid_types, bool p_use_path_from_scene_root = true);
EditorPropertyNodePath();
};