Bug located in start API after running add_dataset

オープン
#238 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

@LKasianAnsys がすでに取り組んでいます。

2026年11月20日 から。

  • #239 @LKasianAnsys による — オープン

評価

この 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時間
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ansys/Visual-Interactive-Simulation-Object-Renderer のほかの issue

ansys/Visual-Interactive-Simulation-Object-Renderer の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。