瀏覽代碼

Revert "Fix paste value not updated in dictionaries/arrays"

Rémi Verschelde 2 年之前
父節點
當前提交
1ee2697682
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      editor/editor_properties_array_dict.cpp

+ 0 - 6
editor/editor_properties_array_dict.cpp

@@ -208,9 +208,6 @@ void EditorPropertyArray::_property_changed(const String &p_property, Variant p_
 	array.set(index, p_value);
 	array.set(index, p_value);
 	object->set_array(array);
 	object->set_array(array);
 	emit_changed(get_edited_property(), array, "", true);
 	emit_changed(get_edited_property(), array, "", true);
-	if (!p_changing) {
-		update_property();
-	}
 }
 }
 
 
 void EditorPropertyArray::_change_type(Object *p_button, int p_index) {
 void EditorPropertyArray::_change_type(Object *p_button, int p_index) {
@@ -741,9 +738,6 @@ void EditorPropertyDictionary::_property_changed(const String &p_property, Varia
 		object->set_dict(dict);
 		object->set_dict(dict);
 		emit_changed(get_edited_property(), dict, "", true);
 		emit_changed(get_edited_property(), dict, "", true);
 	}
 	}
-	if (!p_changing) {
-		update_property();
-	}
 }
 }
 
 
 void EditorPropertyDictionary::_change_type(Object *p_button, int p_index) {
 void EditorPropertyDictionary::_change_type(Object *p_button, int p_index) {