X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fthreedee%2FJava3DWindow.java;fp=tim%2Fprune%2Fthreedee%2FJava3DWindow.java;h=579245db62eb2d07a08d005529f234ea13fa4bb4;hp=fdda0fcc4f53de305e4177866ea8132c09249a97;hb=92dad5df664287acb51728e9ea599f150765d34a;hpb=81843c3d8d0771bf00d0f26034a13aa515465c78 diff --git a/tim/prune/threedee/Java3DWindow.java b/tim/prune/threedee/Java3DWindow.java index fdda0fc..579245d 100644 --- a/tim/prune/threedee/Java3DWindow.java +++ b/tim/prune/threedee/Java3DWindow.java @@ -227,17 +227,6 @@ public class Java3DWindow implements ThreeDWindow } }}); panel.add(povButton); - // Add button for exporting svg - JButton svgButton = new JButton(I18nManager.getText("function.exportsvg")); - svgButton.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) - { - if (_orbit != null) { - callbackRender(FunctionLibrary.FUNCTION_SVGEXPORT); - } - }}); - panel.add(svgButton); - // Close button JButton closeButton = new JButton(I18nManager.getText("button.close")); closeButton.addActionListener(new ActionListener() @@ -614,7 +603,7 @@ public class Java3DWindow implements ThreeDWindow Appearance tAppearance = new Appearance(); if (inBaseImage != null) { - gi.setTextureCoordinateParams(1, 2); // one coord set of two dimensions + gi.setTextureCoordinateParams(1, 2); // one coord set of two dimensions gi.setTextureCoordinates(0, inHelper.getTextureCoordinates()); Texture mapImage = new TextureLoader(inBaseImage.getImage()).getTexture(); tAppearance.setTexture(mapImage); @@ -641,7 +630,7 @@ public class Java3DWindow implements ThreeDWindow /** * Calculate the angles and call them back to the app - * @param inFunction function to call (either pov or svg) + * @param inFunction function to call for export */ private void callbackRender(Export3dFunction inFunction) { @@ -664,8 +653,8 @@ public class Java3DWindow implements ThreeDWindow // Give the settings to the rendering function inFunction.setCameraCoordinates(result.x, result.y, result.z); inFunction.setAltitudeExaggeration(_altFactor); - inFunction.setTerrainDefinition(_terrainDefinition); // ignored by svg, used by pov - inFunction.setImageDefinition(_imageDefinition); // ignored by svg, used by pov + inFunction.setTerrainDefinition(_terrainDefinition); + inFunction.setImageDefinition(_imageDefinition); inFunction.begin(); }