Merge pull request #32541 from Chaosus/vs_fix_input

Fix VisualShaderInput (if compiled with MinGW)
This commit is contained in:
Yuri Roubinsky 2019-10-04 11:04:20 +03:00 committed by GitHub
commit bd7b2354c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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