You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Use reference to constant in functions
This commit is contained in:
@@ -1395,7 +1395,7 @@ void VisualShaderEditor::_node_selected(Object *p_node) {
|
||||
//EditorNode::get_singleton()->push_item(vsnode.ptr(), "", true);
|
||||
}
|
||||
|
||||
void VisualShaderEditor::_graph_gui_input(const Ref<InputEvent> p_event) {
|
||||
void VisualShaderEditor::_graph_gui_input(const Ref<InputEvent> &p_event) {
|
||||
|
||||
Ref<InputEventMouseButton> mb = p_event;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user