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

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

View file

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

View file

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