HonorLee 3 月之前
父节点
当前提交
28fa395a63
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CrossgateToolkit/DynamicGraphic.cs

+ 1 - 1
CrossgateToolkit/DynamicGraphic.cs

@@ -335,7 +335,7 @@ namespace CrossgateToolkit
             if (useCache)
             {
 	            // 二级缓存模式
-	            GraphicDetail graphicDetail = GraphicData.GetGraphicDetail(graphicInfoData, PaletIndex, 0, Linear, true);
+	            GraphicDetail graphicDetail = GraphicData.GetGraphicDetail(graphicInfoData, PaletIndex, -1, Linear, true);
 	            if (graphicDetail == null) return null;
 	            texture = graphicDetail.Sprite.texture;
 	            PrimaryColor = graphicDetail.PrimaryColor;