Skip to content

Commit

Permalink
fixed bash for loop, now testing using env variable instead of modify…
Browse files Browse the repository at this point in the history
…ing all_changed_files
  • Loading branch information
rjwignar committed Nov 25, 2023
1 parent d927b42 commit b02d7ce
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/clang_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,16 @@ jobs:
LEN=${#MODIFIED_FILES_ARRAY[*]}
echo $LEN
for (( i=0; i<${LEN}; i++ )); do
PROCESS_OUTPUT+=\'
PROCESS_OUTPUT+="${MODIFIED_FILES_ARRAY[$i]}"
PROCESS_OUTPUT+=\'
echo "${MODIFIED_FILES_ARRAY[$i]}"
if [[ $i != "$(($LEN - 1))" ]];
then
PROCESS_OUTPUT+=' '
fi
done
PROCESS_OUTPUT="${PROCESS_OUTPUT// /\\ }"
# PROCESS_OUTPUT="${PROCESS_OUTPUT// /\\ }"
echo $PROCESS_OUTPUT
echo "::set-outputs name=changed_files::${PROCESS_OUTPUT}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ struct PerPassParallax
uint ShadowsEndFade;
};



StructuredBuffer<PerPassParallax> perPassParallax : register(t30);

#include "ComplexParallaxMaterials/CRPM.hlsli"
1 change: 1 addition & 0 deletions src/Features/DistantTreeLighting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ void DistantTreeLighting::DrawSettings()
}



ImGui::Spacing();
ImGui::Spacing();
ImGui::TreePop();
Expand Down

0 comments on commit b02d7ce

Please sign in to comment.