DrawCamera view update happens in callbacks
This commit is contained in:
parent
b565ccefbd
commit
80632bb10b
4 changed files with 29 additions and 6 deletions
|
|
@ -60,6 +60,7 @@ World::World(MainProgram& initMain, const CustomEvents::OpenInfiniPaintFileEvent
|
|||
|
||||
drawData.rMan = &rMan;
|
||||
drawData.main = &main;
|
||||
drawData.cam.set_viewing_area(main.window.size.cast<float>());
|
||||
|
||||
if(worldInfo.isClient)
|
||||
init_client(worldInfo.netSource);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue