Omaha #4084 - Fix for PGEN drawing bug.

Former-commit-id: e8c5dbc9a0012d7dd1a0f2cf0ef1c40e02245c95
This commit is contained in:
Mike Duff 2015-02-03 17:08:08 -06:00
parent 86c2994048
commit b9d2eaefd3

View file

@ -74,10 +74,15 @@ public class DefaultElementContainer extends AbstractElementContainer {
* the active layer so DiaplayProperties' "filled" should be true while
* "monoColor" should be false (using the element's color).
*/
if (needsCreate && dprops == null) {
if (dprops == null) {
dprops = new DisplayProperties(false, null, true);
}
if (needsCreate) {
dprops.setLayerMonoColor(false);
dprops.setLayerFilled(true);
}
// For normal drawing........
if ((displayEls == null) || paintProps.isZooming()) {
needsCreate = true;