mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add const lvalue ref to editor/* container parameters
This commit is contained in:
parent
bb6b06c813
commit
1638c1b28f
119 changed files with 397 additions and 397 deletions
|
|
@ -303,7 +303,7 @@ void EditorInspectorPluginMaterial::parse_begin(Object *p_object) {
|
|||
add_custom_control(editor);
|
||||
}
|
||||
|
||||
void EditorInspectorPluginMaterial::_undo_redo_inspector_callback(Object *p_undo_redo, Object *p_edited, String p_property, Variant p_new_value) {
|
||||
void EditorInspectorPluginMaterial::_undo_redo_inspector_callback(Object *p_undo_redo, Object *p_edited, const String &p_property, const Variant &p_new_value) {
|
||||
EditorUndoRedoManager *undo_redo = Object::cast_to<EditorUndoRedoManager>(p_undo_redo);
|
||||
ERR_FAIL_NULL(undo_redo);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue