GP: Fix compiler warnings

This commit is contained in:
Antonioya
2018-10-24 22:35:37 +02:00
parent 97ec802da7
commit 4082502239

View File

@@ -439,12 +439,12 @@ static void generateStrokes(
if (mmd->layer_pass > 0) {
if ((mmd->flag & GP_BUILD_INVERT_LAYERPASS) == 0) {
if (gpl->pass_index != mmd->layer_pass) {
return false;
return;
}
}
else {
if (gpl->pass_index == mmd->layer_pass) {
return false;
return;
}
}
}