Merge pull request #22 from martintan/update-hotspots
Update hotspot stream controller when view is updated
This commit is contained in:
commit
a9a83f91ae
1 changed files with 1 additions and 0 deletions
|
|
@ -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.target..setFrom(Vector3(0, 0, -_radius)));
|
||||||
q.rotate(scene!.camera.up..setFrom(Vector3(0, 1, 0)));
|
q.rotate(scene!.camera.up..setFrom(Vector3(0, 1, 0)));
|
||||||
scene!.update();
|
scene!.update();
|
||||||
|
_streamController.add(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _updateSensorControl() {
|
void _updateSensorControl() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue