diff --git a/.gitignore b/.gitignore index 20f8a72a..d222c948 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ /scripts/local_*.sh /projects/ /resources/ -/src/extern/_deps/ # Visual Studio /.vs diff --git a/src/atta/graphics/apis/openGL/image.cpp b/src/atta/graphics/apis/openGL/image.cpp index 97fbca1a..aae3c9aa 100644 --- a/src/atta/graphics/apis/openGL/image.cpp +++ b/src/atta/graphics/apis/openGL/image.cpp @@ -18,7 +18,6 @@ Image::~Image() { void Image::write(uint8_t* data) { if (!_isCubemap) { - // LOG_DEBUG("graphics::OpenGlImage", "Writing $0 -> $1 ($2)", data, (int)_id, _debugName); GLenum dataType = Image::convertDataType(_format); GLenum internalFormat = Image::convertInternalFormat(_format); GLenum format = Image::convertFormat(_format); diff --git a/src/atta/graphics/apis/openGL/openGLAPI.cpp b/src/atta/graphics/apis/openGL/openGLAPI.cpp index 7519ff25..75bd7aea 100644 --- a/src/atta/graphics/apis/openGL/openGLAPI.cpp +++ b/src/atta/graphics/apis/openGL/openGLAPI.cpp @@ -29,10 +29,10 @@ void OpenGLAPI::startUp() { ASSERT(status, "Failed to initialize Glad!"); // Print info - // LOG_INFO("graphics::OpenGLAPI", "GPU Info:"); - // LOG_INFO("graphics::OpenGLAPI", " - Vendor: $0", glGetString(GL_VENDOR)); - // LOG_INFO("graphics::OpenGLAPI", " - Renderer: $0", glGetString(GL_RENDERER)); - // LOG_INFO("graphics::OpenGLAPI", " - Version: $0", glGetString(GL_VERSION)); + LOG_INFO("gfx::gl::OpenGLAPI", "[w]GPU Info:"); + LOG_INFO("gfx::gl::OpenGLAPI", " - Vendor: [*w]$0", glGetString(GL_VENDOR)); + LOG_INFO("gfx::gl::OpenGLAPI", " - Renderer: [*w]$0", glGetString(GL_RENDERER)); + LOG_INFO("gfx::gl::OpenGLAPI", " - Version: [*w]$0", glGetString(GL_VERSION)); #if defined(ATTA_DEBUG_BUILD) && !defined(ATTA_OS_WEB) // Enable Debug diff --git a/src/atta/ui/editor/editor.cpp b/src/atta/ui/editor/editor.cpp index e2f48e5b..0c5c1f4c 100644 --- a/src/atta/ui/editor/editor.cpp +++ b/src/atta/ui/editor/editor.cpp @@ -30,7 +30,7 @@ void Editor::render() { _dockSpace.render(); // Demo - bool demo = true; + // bool demo = true; // ImGui::ShowDemoWindow(&demo); // ImPlot::ShowDemoWindow(&demo); @@ -64,14 +64,14 @@ void Editor::render() { renderCameraWindows(); - //// Project UI - // script::ProjectScript* project = script::getProjectScript(); - // if (project) - // try { - // project->onUIRender(); - // } catch (std::exception& e) { - // LOG_ERROR("ui::Editor", "Error when executing [w]ProjectScript::onUIRender[]: $0", e.what()); - // } + // Project UI + script::ProjectScript* project = script::getProjectScript(); + if (project) + try { + project->onUIRender(); + } catch (std::exception& e) { + LOG_ERROR("ui::Editor", "Error when executing [w]ProjectScript::onUIRender[]: $0", e.what()); + } } void Editor::renderCameraWindows() {