Force scene view to update regularly

Hi guys

I’m writing an object that procedurally generates geometry. It works absolutely perfect at runtime, now I’m trying to make it work while the application is not running.

My internal data model is updating correctly on the EditorApplication.Update callback. However I’m finding that my geometry building code, which resides almost entirely in OnWillRenderObject, is only being called when the scene view is interacted with.

To demonstrate this problem, here is what my geometry looks like when the application is running:

And here is what it looks like when the application is not running. Please note that I have to roll the camera to get everything to redraw. If I stop moving the camera everything appears to pause:

Is there some trick I can use to force a redraw of the scene view?

Thanks,
Ves

Dammit, another 5 minutes of googling and I got the answer: I can call SceneView.RepaintAll() to get everything redrawing.

This thread can be closed/deleted.