Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 地图画配置 中未勾选基础颜色 Stone 时导出结果仍出现相关方块 #115

Open
3 of 4 tasks
Tinhone opened this issue May 13, 2024 · 7 comments
Open
3 of 4 tasks
Assignees
Labels
bug Something isn't working

Comments

@Tinhone
Copy link

Tinhone commented May 13, 2024

请选择:

  • 我正在着手修复这个问题

问题描述

如题,当我在 地图画配置 一栏中未勾选基础颜色 Stone 时,导出结果仍会出现相关方块。

另外,我尝试查看最新的构建(SlopeCraft-dev-3042257-Release-None-vec=true-windows-clang-7z)是否存在此问题,但启动时遇到了致命报错,若需要可开新 Issue:
图片

另外的另外,启动 Release v5.2.2 时还会弹出警告,日志是空的,若需要可开新 Issue:
图片

重现

  1. 从 Release 下载应用 SlopeCraft-5.2.2-win64.7z
  2. 修改 CustomBlocks.json(附件 1)
  3. 进入 地图画配置 一栏,以图示内容(附件 2)设置,再加载预设(附件 3),其他未修改。这里需注意设置顺序,否则自定义预设会被覆盖(也许可以优化一下)
  4. 切换至 导入图像并转化 一栏,导入图像(附件 4)并以图示内容(附件 5)设置,自定义背景色为 #000000,其他未修改,选择图像后点击 转化当前图像
  5. 切换至 导出 一栏,选择图像后点击 预构建三维结构,点击 预览材料表,发现图示内容(附件 6)

附件 1:CustomBlocks.json
附件 2:图片
附件 3:单色期望.zip
附件 4:Report
附件 5:图片
附件 6:图片

相关日志输出(如果有)

No response

环境

  • 操作系统:Windows 10 22H2
  • SlopeCraft 版本::5.2.2

请确认以下条款

  • 我已经查看了 已有 issue 并确定我提交的问题并没有重复
  • 本 issue 是 bug 反馈
  • 本 bug 在最新版本中仍存在
@Tinhone Tinhone added the bug Something isn't working label May 13, 2024
@Tinhone Tinhone changed the title [Bug]: 地图画配置中未勾选 Stone 类型时导出结果仍出现相关方块 [Bug]: 地图画配置中未勾选 Stone 类型时导出结果仍出现相关方块 May 13, 2024
@Tinhone Tinhone changed the title [Bug]: 地图画配置中未勾选 Stone 类型时导出结果仍出现相关方块 [Bug]: 地图画配置 中未勾选 Stone 类型时导出结果仍出现相关方块 May 13, 2024
@Tinhone Tinhone changed the title [Bug]: 地图画配置 中未勾选 Stone 类型时导出结果仍出现相关方块 [Bug]: 地图画配置 中未勾选基础颜色 Stone 时导出结果仍出现相关方块 May 13, 2024
@Mifan-T
Copy link
Contributor

Mifan-T commented May 13, 2024

已复现,投影材料表如下
image

不过这只是上方的平滑石头边框,属于正常情况,不会影响成品地图

image

@Mifan-T
Copy link
Contributor

Mifan-T commented May 13, 2024

不过我发现了另一个问题:导出的平面示意图是使用方块的侧视图生成的,这导致侧视图和俯视图不同的方块的效果很奇怪。

特别是上述步骤导出的平面示意图,可以说是很诡异了
Report flat-diagram

@Mifan-T
Copy link
Contributor

Mifan-T commented May 13, 2024

顺便也补充下,我启动5.2.2版本SlopeCraft时有概率会弹出以下窗口
image
日志如下:
{"message":"API rate limit exceeded for 125.227.83.26. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
老版本貌似没有这个问题

@Cubik65536
Copy link
Member

顺便也补充下,我启动5.2.2版本SlopeCraft时有概率会弹出以下窗口 image 日志如下: {"message":"API rate limit exceeded for 125.227.83.26. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"} 老版本貌似没有这个问题

如果这个错误信息可参考,这是因为 GitHub API 的调用限制被触发了,目前没有什么直接的办法可以解决

@ToKiNoBug
Copy link
Member

顺便也补充下,我启动5.2.2版本SlopeCraft时有概率会弹出以下窗口 image 日志如下: {"message":"API rate limit exceeded for 125.227.83.26. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"} 老版本貌似没有这个问题

如果这个错误信息可参考,这是因为 GitHub API 的调用限制被触发了,目前没有什么直接的办法可以解决

确实没什么解决方法,但完全可以隐藏这个问题,现在我认为自动检查更新失败了就不弹窗是比较合理的。

@ToKiNoBug
Copy link
Member

不过我发现了另一个问题:导出的平面示意图是使用方块的侧视图生成的,这导致侧视图和俯视图不同的方块的效果很奇怪。

倒不一定是侧视图,只是代表性的图案,方便用户能认出来每一个方块。不过那个诡异的、间隔一列的平面示意图确实是bug

@ToKiNoBug
Copy link
Member

不过我发现了另一个问题:导出的平面示意图是使用方块的侧视图生成的,这导致侧视图和俯视图不同的方块的效果很奇怪。

我当初是真没想到半砖的平面示意图会这么逆天……确实还是应该增加一个俯视图

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants