aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/multi_node_edit.h
diff options
context:
space:
mode:
authorPedro J. Estébanez2017-03-02 10:42:05 +0100
committerPedro J. Estébanez2017-03-02 10:42:05 +0100
commit1e867cb9d439f1e989f44730b936e2a00e213100 (patch)
tree3ed65df8168e3e7bfde963fd31d255f040f67ce8 /tools/editor/multi_node_edit.h
parenta1cbe8e22bec516b138436d06282046466e89c79 (diff)
downloadgodot-1e867cb9d439f1e989f44730b936e2a00e213100.tar.gz
godot-1e867cb9d439f1e989f44730b936e2a00e213100.tar.zst
godot-1e867cb9d439f1e989f44730b936e2a00e213100.zip
Implement single-field property change for multinode edit
Diffstat (limited to 'tools/editor/multi_node_edit.h')
-rw-r--r--tools/editor/multi_node_edit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/multi_node_edit.h b/tools/editor/multi_node_edit.h
index 290c529d4..26e557c1c 100644
--- a/tools/editor/multi_node_edit.h
+++ b/tools/editor/multi_node_edit.h
@@ -41,6 +41,8 @@ class MultiNodeEdit : public Reference {
PropertyInfo info;
};
+ bool _set_impl(const StringName& p_name, const Variant& p_value, const String& p_field);
+
protected:
@@ -55,6 +57,8 @@ public:
void clear_nodes();
void add_node(const NodePath& p_node);
+ void set_property_field(const StringName& p_property, const Variant& p_value, const String& p_field);
+
MultiNodeEdit();
};