From 1266588da58f60f17914b177e43216fc22de8ac5 Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Thu, 13 Apr 2023 18:58:44 +0200 Subject: [PATCH] migration: updates --- migration.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/migration.sh b/migration.sh index 862fec53..65b31f5b 100755 --- a/migration.sh +++ b/migration.sh @@ -118,11 +118,11 @@ sed -i -e 's/imgui\.TableRowFlags_/imgui\.TableRowFlags/g' $files sed -i -e 's/imgui\.TableColumnFlags_/imgui\.TableColumnFlags/g' $files sed -i -e 's/\(imgui\.TableColumnFlags.*\)_/\1/g' $files -sed -i -e 's/\(imgui\.PlotFlags\)_/\1/g' $files # ImPlotFlags: # disable flags that are not present: # API CHANGE! sed -i -e 's/\(imgui\.\)Im\(PlotFlags\)/\1\2/g' $files +sed -i -e 's/\(imgui\.PlotFlags\)_/\1/g' $files sed -i -e 's/\(.*imgui\.PlotFlagsNoMousePos.*\)/\/\/ \1/g' $files sed -i -e 's/\(.*imgui\.PlotFlagsNoHighlight.*\)/\/\/ \1/g' $files sed -i -e 's/\(.*imgui\.PlotFlagsYAxis2.*\)/\/\/ \1/g' $files @@ -132,9 +132,10 @@ sed -i -e 's/\(.*imgui\.PlotFlagsAntiAliased.*\)/\/\/ \1/g' $files # Plot Axis Flags # API CHANGE! -sed -i -e 's/\(.*imgui\.ImPlotAxisFlagsLogScale.*\)/\/\/ \1/g' $files -sed -i -e 's/\(.*imgui\.ImPlotAxisFlagsTime.*\)/\/\/ \1/g' $files sed -i -e 's/\(imgui\.\)Im\(PlotAxisFlags\)/\1\2/g' $files +sed -i -e 's/\(.*imgui\.PlotAxisFlagsLogScale.*\)/\/\/ \1/g' $files +sed -i -e 's/\(.*imgui\.PlotAxisFlagsTime.*\)/\/\/ \1/g' $files +sed -i -e 's/\(imgui\.PlotAxisFlags\)_/\1/g' $files # master window # API CHANGE!