diff options
| author | Pedro J. Estébanez | 2017-03-02 10:42:05 +0100 |
|---|---|---|
| committer | Pedro J. Estébanez | 2017-03-02 10:42:05 +0100 |
| commit | 1e867cb9d439f1e989f44730b936e2a00e213100 (patch) | |
| tree | 3ed65df8168e3e7bfde963fd31d255f040f67ce8 /tools/editor/multi_node_edit.h | |
| parent | a1cbe8e22bec516b138436d06282046466e89c79 (diff) | |
| download | godot-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.h | 4 |
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(); }; |
