浏览代码

[csharp] Capacity for region fields was low.

Nathan Sweet 4 年之前
父节点
当前提交
3ee27a6b3c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-csharp/src/Atlas.cs

+ 1 - 1
spine-csharp/src/Atlas.cs

@@ -134,7 +134,7 @@ namespace Spine {
 				page.pma = entry[1] == "true";
 			});
 
-			var regionFields = new Dictionary<string, Action>(4);
+			var regionFields = new Dictionary<string, Action>(8);
 			regionFields.Add("xy", () => { // Deprecated, use bounds.
 				region.x = int.Parse(entry[1], CultureInfo.InvariantCulture);
 				region.y = int.Parse(entry[2], CultureInfo.InvariantCulture);