Skip to content

Commit 157d56b

Browse files
Fixing spacing from tabs
1 parent d438cdf commit 157d56b

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/gov/nasa/worldwind/render/PointPlacemark.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -977,24 +977,24 @@ protected void doDrawOrderedRenderable(DrawContext dc, PickSupport pickCandidate
977977
(byte) color.getAlpha());
978978
}
979979

980-
// Compute the scale
981-
double xscale;
982-
Double scale = this.getActiveAttributes().getScale();
983-
if (scale != null)
984-
xscale = scale * this.activeTexture.getWidth(dc);
985-
else
986-
xscale = this.activeTexture.getWidth(dc);
987-
988-
double yscale;
989-
if (scale != null)
990-
yscale = scale * this.activeTexture.getHeight(dc);
991-
else
992-
yscale = this.activeTexture.getHeight(dc);
993-
double maxwh = Math.max(xscale, yscale);
994-
995-
// The image is drawn using a parallel projection.
996-
osh.pushProjectionIdentity(gl);
997-
gl.glOrtho(0d, dc.getView().getViewport().width, 0d, dc.getView().getViewport().height, -0.6 * maxwh, 0.6 * maxwh);
980+
// Compute the scale
981+
double xscale;
982+
Double scale = this.getActiveAttributes().getScale();
983+
if (scale != null)
984+
xscale = scale * this.activeTexture.getWidth(dc);
985+
else
986+
xscale = this.activeTexture.getWidth(dc);
987+
988+
double yscale;
989+
if (scale != null)
990+
yscale = scale * this.activeTexture.getHeight(dc);
991+
else
992+
yscale = this.activeTexture.getHeight(dc);
993+
double maxwh = Math.max(xscale, yscale);
994+
995+
// The image is drawn using a parallel projection.
996+
osh.pushProjectionIdentity(gl);
997+
gl.glOrtho(0d, dc.getView().getViewport().width, 0d, dc.getView().getViewport().height, -0.6 * maxwh, 0.6 * maxwh);
998998

999999
// Apply the depth buffer but don't change it (for screen-space shapes).
10001000
if ((!dc.isDeepPickingEnabled()))

0 commit comments

Comments
 (0)