I use an EditorCallable function to autocreate a spline from other data on the actor. The scene proxy gets created as expected, the MarkComponentsRenderStateDirty is called, but nothing changes in the editors display until I click into the editor viewport and move in some way. then the display is as expected. Is there a way I can manually force it to redraw, or is there some other dirty call I should be using?
Steps to Reproduce
I use an EditorCallable function to autocreate a spline from other data on the actor. The scene proxy gets created as expected, the MarkComponentsRenderStateDirty is called, but nothing changes in the editors display until I click into the editor viewport and move in some way. then the display is as expected. Is there a way I can manually force it to redraw, or is there some other dirty call I should be using?
Hello Chris,
There is a way to manually redraw, but first I would check if the realtime viewport toggle is turned on.
When this setting is turned off, the viewport will only update when moving around the scene.
Otherwise, the documentation for the editor viewport client may give you the function you’re looking for.
If neither of these help, would you be able to provide an example project or steps to reproduce this so I could look into it further?
Thanks,
Kyle B.