Fix copy-paste error of shader output values in wrong places in history

This commit is contained in:
baldurk
2018-06-07 16:08:28 +01:00
parent 6e06e6f338
commit 9b25f3948e
+2 -2
View File
@@ -310,7 +310,7 @@ public:
if(isEvent(index))
return tr("Tex After\n\n") + modString(getMods(index).last().postMod);
else
return tr("Tex After\n\n") + modString(getMod(index).shaderOut);
return tr("Tex After\n\n") + modString(getMod(index).postMod);
}
}
@@ -322,7 +322,7 @@ public:
if(isEvent(index))
return backgroundBrush(getMods(index).first().preMod);
else
return backgroundBrush(getMod(index).shaderOut);
return backgroundBrush(getMod(index).preMod);
}
else if(col == 4)
{