From 4aa690b0183a783e472655da877600873a7c0bc8 Mon Sep 17 00:00:00 2001 From: Roy Jeffrey Wignarajah Date: Sat, 25 Nov 2023 00:42:36 -0500 Subject: [PATCH] testing with only cpp source files modified, shader files not included --- .github/workflows/clang_format.yml | 2 ++ src/Features/DistantTreeLighting.cpp | 1 - src/Features/DistantTreeLighting.h | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clang_format.yml b/.github/workflows/clang_format.yml index 8bcb00a7f..2f735fce0 100644 --- a/.github/workflows/clang_format.yml +++ b/.github/workflows/clang_format.yml @@ -5,10 +5,12 @@ on: branches: - main - dev + - issue-128-cpp-source pull_request_target: branches: - main - dev + - issue-128-cpp-source workflow_dispatch: jobs: diff --git a/src/Features/DistantTreeLighting.cpp b/src/Features/DistantTreeLighting.cpp index 7e1317657..02e8aa57c 100644 --- a/src/Features/DistantTreeLighting.cpp +++ b/src/Features/DistantTreeLighting.cpp @@ -43,7 +43,6 @@ void DistantTreeLighting::DrawSettings() ImGui::TreePop(); } - if (ImGui::TreeNodeEx("Effects", ImGuiTreeNodeFlags_DefaultOpen)) { ImGui::SliderFloat("SSS Amount", &settings.SubsurfaceScatteringAmount, 0.0f, 1.0f); if (ImGui::IsItemHovered()) { diff --git a/src/Features/DistantTreeLighting.h b/src/Features/DistantTreeLighting.h index eb79f2a6d..439f928c9 100644 --- a/src/Features/DistantTreeLighting.h +++ b/src/Features/DistantTreeLighting.h @@ -11,7 +11,6 @@ struct DistantTreeLighting : Feature return &singleton; } - virtual inline std::string GetName() { return "Tree LOD Lighting"; } virtual inline std::string GetShortName() { return "TreeLODLighting"; }