aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/multi_node_edit.h
diff options
context:
space:
mode:
authorRémi Verschelde2017-03-02 11:47:11 +0100
committerGitHub2017-03-02 11:47:11 +0100
commit74eace2b14b337e23d0dc552f3bc3e60f1710f65 (patch)
tree09c8e2db6b3ce6382ad4b65048710f3a5f80ffa3 /tools/editor/multi_node_edit.h
parentee53f85bea20f1d579dae5cce849b4ad9806a9bd (diff)
parent1e867cb9d439f1e989f44730b936e2a00e213100 (diff)
downloadgodot-74eace2b14b337e23d0dc552f3bc3e60f1710f65.tar.gz
godot-74eace2b14b337e23d0dc552f3bc3e60f1710f65.tar.zst
godot-74eace2b14b337e23d0dc552f3bc3e60f1710f65.zip
Merge pull request #7911 from RandomShaper/single-field-prop-edit
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();
};