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

Switching the clipping plane and changing the view encountered an abnormal error message #11779

Closed
dslming opened this issue Jan 22, 2024 · 1 comment

Comments

@dslming
Copy link
Contributor

dslming commented Jan 22, 2024

What happened?

Uncaught TypeError: Cannot read properties of undefined (reading '_target') (on line 37405 of https://sandcastle.cesium.com/CesiumUnminified/Cesium.js)

image

Reproduction steps

step1: Move clipping plane
step2: Multiple mouse clicks, Quickly and continuously click at least 5 times

【What's the difference between your Sandcastle and https://sandcastle.cesium.com/?src=3D%20Tiles%20Clipping%20Planes.html?】

The difference is that the clipping plane has been switched, and in the example, the clipping plane has not been switched.
My guess is that the old clipping plane was used in drawCommand。

try it:

https://sandcastle.cesium.com/#c=5Rprc9s28q+gupuGusjUw3aak+z0/OrEN03ti5VkelEmhUhYQk0BPBCUo2b832/xIkGKsuUk9+GmM3mQwGJ3se9dqttFR3GMMIoSmqaUzVCaYEY6sKIf0IzwBZFihSRH2ZzfIjknSJBUkIwwiSXlDPFrtTph3W5xmsUo4kwKnugDCzxjVOYxsbAWeUwziVlE0C2VcwPI84yEEzZhcDyTaEnJLRHoEDFyi05IRvNF+FavBZNWpN9PgA6mjIhJq4M+TxhClF3zY/5piK5xkpGOWspIQiLF7DmLaYQlF+XuXXvkyGURAbYOLdlQv44UN3YhSnh0E0a5EHD5MV0oWMvVP/OEYnaKJQmvBV+cZ/z5s14/UMQnrUFvMNjpPd/p9ce93lD/+fekNWHtUXlVpYGL6e/AZgZY309ax+ev1JUmrUtOmUQnCc9js3DOjNzs6ysek2TS+jDypaYXAZGWSEym+eyY53B5NnvLk3xBsjOGpwmJfSmReEau5CoBoGJXitxufsKLNCHjVUqyoc+t3rUyOSuBKjDvex+UpPV1EyKRxGJG5K/AXy/sjcyatokzJqmkRIvgg90wyiPxpQKwa85e9VpmFwWO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apVJssjcEGpKVZNbOvY5Z69tv6xD3FGmhklx0B/s9fZ6g/Lzaqo+ZOrvmNudf7Y36JenqfvqqQ+bD6th2L3S3e8plrhbace7xVfS8umidO2uK1Z/zzibtEblhA2kYNiro9dbmaVyRIV9+giP4SyZaiQT5g9yjKSK+d5Yua75OK4tyfQlVJdcmfZdtaDcybDheJKcg1GqoBzzKNeTMnDKs0QPzY5XIKpJy8JMWoqaFewN49ENGJWJGUGR15pAsOquji0vJWjHETeXqJ1SSlCsXEwzIpYqQfonJ631CQXwpw9l+TSLBJ0Sb9IIbvgWJ3k5xRBaiNXO1gHpL1nVL8xexdysBO0y5sPFvaj6m1BVDPgxGAcfqh2ym3JqhReGXUxq8JQvwTqg/sKUNTFSxgzfKza37Zubmk1FVH9fF1D7z8NnHbTfC58P9tteNFtrcirfg5BXHDqHqhSrd19kTvdMcO6zq2XFqBomWG661DC92jhfQhrr199pvcTc/iq2EnKVq2PKr1EL36kldf9Q8TzyrlHQtE5oaNZTff0byjbC3TTnM7j8UV/ROzf+NASt/YrEn9P6H4I0llandZCBoMkLp+N/0EXKhR4EBxDpIcUBHbD/7jSHCkuGUZaVffVfXBD2yhVVKMyEMowhErMpDvYGHeT+gsuUp+EKamrFZkO0l34a+bMOEROxY5ri6ubdGmmqPtD4DCyhRKFQe+7gBDL4EMrOOE7IOtUdydMhGlQou60pl5IvqrvrpHXJTiq3v+ZM7tzqmYeaHCRx/fhB15f3QUyXiMaHDb/bAuPEWQY713miy+VJ68VBF+DXjtou9QIunuCVApv3X/xsFsMwPOjCa/PJIj8W6j8w360QFHJ4R2VhgOKpNNWn/2unjnGrIWpKZ0DO4CnxGjVJ2FaXnZPoZso/wS01FnVLXRm2KoQ1mPq91T0xzvJhSs8heqLpPPFupOJUOedc6sNbc6Vq0U1MrQepB3kxcPokysxRZxVGPebtvw

Sandcastle example

No response

Environment

Browser: chrome
CesiumJS Version: 113
Operating System: macos

@ggetz
Copy link
Contributor

ggetz commented Jan 22, 2024

Hi @dslming. Thanks for the report.

I believe we're already tracking this in #11410. I'm going to close your issue to keep the discussion in one place. If you have any further input on this, please post it there instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants