Issue #358 Fixed merge errors when merging core_exp into ss_sync
Former-commit-id:9b0d01f8b5
[formerly beb6a1d49fac8e3e7b2ba8cbc52a8980d06e9885] Former-commit-id:07cf5069ba
This commit is contained in:
parent
6aa18f74f6
commit
993cac891e
5 changed files with 4 additions and 12 deletions
|
@ -50,12 +50,6 @@ public interface IGLTarget extends IGraphicsTarget {
|
|||
*/
|
||||
public abstract void releaseContext();
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public abstract void releaseContext();
|
||||
|
||||
/**
|
||||
* Get the modle view matrix settings
|
||||
*
|
||||
|
|
|
@ -219,6 +219,7 @@ public abstract class AbstractGLImage implements IImage {
|
|||
rbuf = null;
|
||||
}
|
||||
throw new VizException(errorMessage);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -261,8 +262,10 @@ public abstract class AbstractGLImage implements IImage {
|
|||
GL.GL_NEAREST);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
|
|
|
@ -203,9 +203,6 @@ public class GLCMTextureData implements IImageCacheable {
|
|||
public double getValue(int x, int y) {
|
||||
if (!isStaged() && isLoaded()) {
|
||||
GL gl = GLU.getCurrentGL();
|
||||
if (gl == null || data == null) {
|
||||
return Double.NaN;
|
||||
}
|
||||
int textureStorageType = getTextureStorageType();
|
||||
int copybackTextureType = data.getCopyBackTextureType();
|
||||
Buffer copybackBuffer = data.getCopybackBuffer();
|
||||
|
|
|
@ -552,7 +552,6 @@ public class GLTarget implements IGLTarget {
|
|||
theContext.destroyContext();
|
||||
|
||||
if (theCanvas != null && theCanvas.isDisposed() == false) {
|
||||
|
||||
theCanvas.removeListener(SWT.Resize, this.canvasResizeListener);
|
||||
}
|
||||
extensionManager.dispose();
|
||||
|
|
|
@ -846,8 +846,7 @@ public class RadarGraphicFunctions {
|
|||
}
|
||||
|
||||
private static Document loadSVG(String plotModelFile) throws VizException {
|
||||
Document document = null;
|
||||
// document = docMap.get(plotModelFile);
|
||||
Document document = docMap.get(plotModelFile);
|
||||
if (document == null) {
|
||||
|
||||
String parser = XMLResourceDescriptor.getXMLParserClassName();
|
||||
|
|
Loading…
Add table
Reference in a new issue