Ignore bitmapId 65535 as fill needed character

This commit is contained in:
Jindra Petřík
2022-11-06 21:35:53 +01:00
parent 79027e085c
commit 4a50045f25

View File

@@ -91,6 +91,9 @@ public class FILLSTYLE implements NeedsCharacters, FieldChangeObserver, Serializ
|| (fillStyleType == CLIPPED_BITMAP)
|| (fillStyleType == NON_SMOOTHED_REPEATING_BITMAP)
|| (fillStyleType == NON_SMOOTHED_CLIPPED_BITMAP)) {
if (bitmapId == 65535) { //In some cases, this special value is used, but is not used. Ignore it. (#1851)
return;
}
needed.add(bitmapId);
}
}