Hey Unigine,
in attachment you'll find a sample project to reproduce this error.
Error explanation:
If i try to change the video mode:
engine.console.setInt( "video_mode", 3 );
And after this I restart the engine with:
engine.console.run ( "video_restart" );
The project is reloaded and the size of the frame is restartet but the problem is that:
engine.app.getWidth / engine.app.getHeight
Isn't updatet.
The width and height are just updated after a second press on the button which is attached, but not with the first one - which should be so?
I found a work around with trigger:
engine.console.run("world_reload");
But I realy don't know in which issues we run with this call, and at all the whole project is reloaded and not just the video.
A fast feedback and solution would be very good.
Thanks & Greetings
Lars
roa.rar