mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix untyped dictionary .NET debug visualization showing keys as values
(cherry picked from commit c41601fa9c)
This commit is contained in:
committed by
Spartan322
parent
9b42609564
commit
053820dbe6
@@ -174,7 +174,7 @@ namespace Godot.Collections
|
|||||||
var keys = Array.CreateTakingOwnershipOfDisposableValue(keysArray);
|
var keys = Array.CreateTakingOwnershipOfDisposableValue(keysArray);
|
||||||
|
|
||||||
godot_array valuesArray;
|
godot_array valuesArray;
|
||||||
NativeFuncs.godotsharp_dictionary_keys(ref self, out valuesArray);
|
NativeFuncs.godotsharp_dictionary_values(ref self, out valuesArray);
|
||||||
var values = Array.CreateTakingOwnershipOfDisposableValue(valuesArray);
|
var values = Array.CreateTakingOwnershipOfDisposableValue(valuesArray);
|
||||||
|
|
||||||
int count = NativeFuncs.godotsharp_dictionary_count(ref self);
|
int count = NativeFuncs.godotsharp_dictionary_count(ref self);
|
||||||
|
|||||||
Reference in New Issue
Block a user