mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 06:03:38 +00:00
Merge pull request #36404 from rxlecky/fix-variant-conversion
Fix Variant to Vector<Variant> conversion operator
This commit is contained in:
commit
0e25f54755
@ -2490,7 +2490,7 @@ Variant::operator Vector<Variant>() const {
|
||||
variants.resize(va_size);
|
||||
Variant *w = variants.ptrw();
|
||||
for (int i = 0; i < va_size; i++)
|
||||
w[i] = variants[i];
|
||||
w[i] = va[i];
|
||||
|
||||
return variants;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user