Эх сурвалжийг харах

[csharp] Fixed an error in `Skin` where `Skin.setAttachment()` did not work as expected on 3.8 branch (See #1485).

Harald Csaszar 5 жил өмнө
parent
commit
1802f7319a

+ 1 - 0
spine-csharp/src/Collections/OrderedDictionary.cs

@@ -277,6 +277,7 @@ namespace Spine.Collections
 			set {
 				int index;
 				if (dictionary.TryGetValue(key, out index)) {
+					keys[index] = key;
 					values[index] = value;
 				}
 				else {