notification is send from editor to engine if file fails to load - fixes #1
This commit is contained in:
parent
1d6c6038e4
commit
468bd24594
2 changed files with 2 additions and 1 deletions
|
@ -53,6 +53,8 @@ namespace editor_ng.FileServer
|
|||
{
|
||||
ui.onFileNotFound(idx, path);
|
||||
m_client.GetStream().Write(BitConverter.GetBytes(-1), 0, 4);
|
||||
m_client.GetStream().Write(BitConverter.GetBytes(0), 0, 1);
|
||||
m_client.GetStream().Write(BitConverter.GetBytes(idx), 0, 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -100,7 +100,6 @@ void RendererImpl::onResize(int w, int h)
|
|||
|
||||
void resourceLoaded(void* user_data, char* file_data, int length, bool success)
|
||||
{
|
||||
assert(success);
|
||||
RendererImpl* renderer = static_cast<RendererImpl*>(user_data);
|
||||
if(success)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue