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

fix tiledmap setTiledTileAt invalid bug #5713

Conversation

@sunnylanwanjun
Copy link
Contributor

sunnylanwanjun commented Nov 8, 2019

由于2.2优化了地图渲染机制,只有当地图裁剪发生变更时,才会刷新原有地图缓存,否则使用旧的缓存,以提升渲染性能,这个接口主动修改了地图块的内容,所以需要把刷新标志置脏。
https://forum.cocos.org/t/bug-v2-2-0-tile-layer-settilegidat/85747

@holycanvas holycanvas merged commit 7ca4e63 into cocos-creator:v2.2.1-release Nov 8, 2019
1 check passed
1 check passed
ci/circleci: test Your tests passed on CircleCI!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.