mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Fix VisualShaderInput (if compiled with MinGW) (correct, tested version)
This commit is contained in:
parent
bd7b2354c5
commit
0a34fa701f
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue