1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Multiple, simultaneous node editing spuport!!

..but will you be brave enough to try it? :)
This commit is contained in:
Juan Linietsky
2015-08-25 00:08:45 -03:00
parent 0d77277a86
commit eff2931b2a
9 changed files with 199 additions and 10 deletions

View File

@@ -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);