Hi Klaus,
I noticed a strange behavior when moving a depthmap scene via the view.ox value. Some hotspots are moved in the wrong direction. However, this doesn't happen with view.oy or view.oz, only view.ox is affected.
Please see this demo: https://36o.de/test/krpano-1.23.1-2025-07-21-depthmap-ox/
And follow these steps:
- Switch to the dollhouse view.
- Add a measurement between two points.
- Open the console tab in the browsers development tools.
- Execute this code:
window.krpano.actions.tween('global.view.ox', 2000, 5);
As a result, the label of the measurment (style "measure3d_linetext" in plugins/measure3d.xml) moves to the right while the depthmap itself moves left. Other hotspots like the line (style "measure3d_line") and the markers (style "measure3d_marker") move correctly, which seems to be linked to the "distorted" property. When distorted="true" is added to the "measure3d_linetext" style, the label of the measurment also moves correctly, but obviously, its appearance is altered.
When changing the view.oy or view.oz values in the same way as described above, all hotspots move in the correct direction, regardless of the "distorted" property.
Does this work as intended, or is this a bug? Is there a workaround to change this behavior?
Thank you and kind regards
Christian