Merge "Issue #666 fixed ncep ovelay resources so recylce works properly" into development

Former-commit-id: 727c5f832c [formerly 4f6a67ae6e] [formerly 727c5f832c [formerly 4f6a67ae6e] [formerly 175651d6c5 [formerly 536549ae3f5ad1d8b73289f3838d20fc654439aa]]]
Former-commit-id: 175651d6c5
Former-commit-id: fea6b9b24d [formerly ca9cf045b5]
Former-commit-id: bf8c71c104
This commit is contained in:
Lee Venable 2012-06-25 15:49:00 -05:00 committed by Gerrit Code Review
commit 10dd968e1c
2 changed files with 7 additions and 0 deletions

View file

@ -356,6 +356,7 @@ public class DbOverlayResource extends
if (shadedShape != null) { if (shadedShape != null) {
shadedShape.dispose(); shadedShape.dispose();
} }
lastExtent = null;
} }
@Override @Override

View file

@ -107,6 +107,12 @@ public class OverlayResourceGroup extends
*/ */
@Override @Override
public void initInternal(IGraphicsTarget target) throws VizException { public void initInternal(IGraphicsTarget target) throws VizException {
for (ResourcePair rp : this.resourceData.getResourceList()) {
AbstractVizResource<?, ?> rsc = rp.getResource();
if (rsc != null) {
rsc.init(target);
}
}
} }
/* /*