Please create simple camera animation with two scenes and run this script:
UI.start_timer(5.0,true) { mod=Sketchup.active_model; mod.pages.selected_page = mod.pages[(mod.pages.selected_page==mod.pages[0] ? 1 : 0)] ; mod.active_view.invalidate; puts mod.active_view.camera.eye.to_s }
On Mac when you minimize SketchUp you will see that camera eye position gets frozen. It is reported in the console, but its position do not change with scene change.
(488,393686 cm, 49,020739 cm, 198,525246 cm)
(824,540738 cm, -714,830276 cm, 347,58559 cm) #Camera changed
(488,393686 cm, 49,020739 cm, 198,525246 cm) #Camera changed
(824,540738 cm, -714,830276 cm, 347,58559 cm) #Camera changed
Minimized
(488,393686 cm, 49,020739 cm, 198,525246 cm)
Other window in focus
(822,405475 cm, -736,018289 cm, 349,082864 cm)
(822,405475 cm, -736,018289 cm, 349,082864 cm) #Camera doesn't change
(822,405475 cm, -736,018289 cm, 349,082864 cm) #...
In Thea for SketchUp I allow so called Batch Rendering which renders selected scenes. I rely on SketchUp updating the model accordingly with the selected scene. Unfortunately it doesn’t work when minimized.
It is fine on Windows.
I tried view.refresh / .invalidate.
I guess I will have to log it in github… but maybe someone knows a trick how to force SketchUp on Mac to update the model in accordance with the active scene.