Update hotspot stream controller when view is updated

This commit is contained in:
martintan 2021-04-11 16:02:43 +08:00
parent f0754548a9
commit 9c442caa95

View file

@ -261,6 +261,7 @@ class _PanoramaState extends State<Panorama> with SingleTickerProviderStateMixin
q.rotate(scene!.camera.target..setFrom(Vector3(0, 0, -_radius)));
q.rotate(scene!.camera.up..setFrom(Vector3(0, 1, 0)));
scene!.update();
_streamController.add(null);
}
void _updateSensorControl() {