1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix VisualShaderInput (if compiled with MinGW) (correct, tested version)

This commit is contained in:
Yuri Roubinsky
2019-10-04 10:43:59 +03:00
parent bd7b2354c5
commit 0a34fa701f
2 changed files with 2 additions and 1 deletions

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_str != "") {
if (op.sub_func == -1) {
d["sub_func"] = op.sub_func_str;
} else {
d["sub_func"] = op.sub_func;