Bug located in start API after running add_dataset
維護者通常 6 天內回覆
評估
這個 Issue 還沒有評估資料。
描述
🐞 Description of the bug
When I run the start API with an input, after running add_dataset first, the new dataset does not appear in the viewer canvas.
📝 Steps to reproduce
In VISOR, in both CLIENT and SERVER mode I see the following behaviour.
- initialize instance on a port
- visor-cli instance add tests/files/many_blocks/many_blocks.vtm
- visor-cli instance start examples/assets/vtk_scene_sphere_l2_b3_r32_v3_c1_z0.vtm
What should happen: the 'start' API is should clear the scene, add the new dataset, then start the viewer/trame server.
What I see: No datasets are rendered in the canvas. The examples/assets/vtk_scene_sphere_l2_b3_r32_v3_c1_z0.vtm dataset correctly shows up in the tree view panel. But no rendered dataset in the canvas.
📦 Installed packages and configuration
Windows, dev environment within the visor repo
🚦 Defines the severity of the bug. In the case of class-3, specific information must be added.
Class 1 - Crash/Major data loss
📦 Support ticket ID
No response
🐞 Found in
No response
🩹 Fixed in
No response
Root cause
Root cause: Because there was already a dataset in the scene before the start API was called, the cross section widget got reset to the origin when the scene is cleared. And when the new dataset was added to the scene, the 'reset' was treated as a deliberately set plane position, rather than adjusting it at the correct edge of bounds for the new dataset, so that it would be visible.
Third Party
- This bug is introduced by a third party
Released Bug
- This bug is in a released product
- 主要語言
- Python
- 星號
- 3
- 分支
- 1
- 平均合併
- 5 天 9 小時
- 30 天內合併 PR
- 23
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ansys/Visual-Interactive-Simulation-Object-Renderer 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
ansys/Visual-Interactive-Simulation-Object-Renderer#211 · 已指派 1 人 ·
維護者通常 6 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
ansys/Visual-Interactive-Simulation-Object-Renderer#175 ·
維護者通常 6 天內回覆
-
Incorrect Visordash use in documentation可能重新可做 @ansBAkula 於 38 天前認領,目前沒有進行中的 PR。 未關閉
難度 1/5 1 小時以內 新手友好度 85/100
ansys/Visual-Interactive-Simulation-Object-Renderer#174 · 已指派 1 人 ·
維護者通常 6 天內回覆
-
Apply button未關閉enhancement
難度 2/5 1-3 小時 新手友好度 68/100
ansys/Visual-Interactive-Simulation-Object-Renderer#157 ·
維護者通常 6 天內回覆
-
visor-setup on macOS可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
ansys/Visual-Interactive-Simulation-Object-Renderer#148 ·
維護者通常 6 天內回覆
查看 ansys/Visual-Interactive-Simulation-Object-Renderer 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
Pantheon-Security/medusa#24 ·
-
enhancement
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
TigreGotico/scriptconv#445 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
TigreGotico/phoonnx#1045 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 2 天內回覆