aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/property_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-08-25 00:08:45 -0300
committerJuan Linietsky2015-08-25 00:08:45 -0300
commiteff2931b2ab4db9d47d822e5ef66dce941c90d98 (patch)
tree66f18523a8f33cbd685ded670c3648c2e47a740d /tools/editor/property_editor.cpp
parent0d77277a860f56b5f596c3d930ec2209cee95517 (diff)
downloadgodot-eff2931b2ab4db9d47d822e5ef66dce941c90d98.tar.gz
godot-eff2931b2ab4db9d47d822e5ef66dce941c90d98.tar.zst
godot-eff2931b2ab4db9d47d822e5ef66dce941c90d98.zip
Multiple, simultaneous node editing spuport!!
..but will you be brave enough to try it? :)
Diffstat (limited to 'tools/editor/property_editor.cpp')
-rw-r--r--tools/editor/property_editor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp
index 955c426d2..78a1f0ad1 100644
--- a/tools/editor/property_editor.cpp
+++ b/tools/editor/property_editor.cpp
@@ -39,6 +39,7 @@
#include "editor_settings.h"
#include "editor_import_export.h"
#include "editor_node.h"
+#include "multi_node_edit.h"
void CustomPropertyEditor::_notification(int p_what) {
@@ -2676,7 +2677,7 @@ void PropertyEditor::_edit_set(const String& p_name, const Variant& p_value) {
}
}
- if (!undo_redo) {
+ if (!undo_redo || obj->cast_to<MultiNodeEdit>()) { //kind of hacky
obj->set(p_name,p_value);
_changed_callbacks(obj,p_name);