Compile and runtime fixes when running in Debug

Do not crash if ScreenSpaceLocalImage does not exist
Add ability to specify identifier/name when adding screenspace items in the UI
This commit is contained in:
Alexander Bock
2019-07-22 14:14:12 +02:00
parent ce15381fb2
commit 8f112fa219
4 changed files with 89 additions and 19 deletions

View File

@@ -149,7 +149,7 @@ void WebGuiModule::removeEndpointChangeCallback(CallbackHandle handle) {
);
ghoul_assert(
it != _deltaTimeChangeCallbacks.end(),
it != _endpointChangeCallbacks.end(),
"handle must be a valid callback handle"
);