mirror of
https://github.com/tiennm99/godot.git
synced 2026-06-26 17:05:45 +00:00
Fix VisualShaderInput if compiled with MinGW
This commit is contained in:
@@ -2053,7 +2053,7 @@ Variant VisualShaderEditor::get_drag_data_fw(const Point2 &p_point, Control *p_f
|
||||
|
||||
Dictionary d;
|
||||
d["id"] = id;
|
||||
if (op.sub_func == -1) {
|
||||
if (op.sub_func_str != "") {
|
||||
d["sub_func"] = op.sub_func_str;
|
||||
} else {
|
||||
d["sub_func"] = op.sub_func;
|
||||
|
||||
Reference in New Issue
Block a user