changeset 4273:127ae0e98230

ECLIPSE: cosmetic work around for Eclipse JDK8 compiler
author snorthov
date Thu, 11 Jul 2013 11:10:00 -0400
parents 62839def88df
children 393e1c8c6e4b
files modules/graphics/src/main/java/javafx/scene/SubScene.java
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/scene/SubScene.java	Thu Jul 11 11:09:27 2013 -0400
+++ b/modules/graphics/src/main/java/javafx/scene/SubScene.java	Thu Jul 11 11:10:00 2013 -0400
@@ -35,8 +35,10 @@
 import javafx.geometry.Point3D;
 import javafx.scene.input.PickResult;
 import javafx.scene.paint.Paint;
+
 import java.util.ArrayList;
 import java.util.List;
+
 import com.sun.javafx.geom.BaseBounds;
 import com.sun.javafx.geom.PickRay;
 import com.sun.javafx.geom.transform.BaseTransform;
@@ -47,10 +49,12 @@
 import com.sun.javafx.scene.SubSceneHelper;
 import com.sun.javafx.scene.input.PickResultChooser;
 import com.sun.javafx.scene.traversal.TraversalEngine;
+import com.sun.javafx.sg.prism.NGCamera;
 import com.sun.javafx.sg.prism.NGLightBase;
 import com.sun.javafx.sg.prism.NGNode;
 import com.sun.javafx.sg.prism.NGSubScene;
 import com.sun.javafx.tk.Toolkit;
+
 import sun.util.logging.PlatformLogger;
 
 /**
@@ -490,7 +494,7 @@
                 peer.setHeight((float)getHeight());
             }
             if (isDirty(SubSceneDirtyBits.CAMERA_DIRTY)) {
-                peer.setCamera(cam.impl_getPeer());
+                peer.setCamera((NGCamera) cam.impl_getPeer());
                 contentChanged = true;
             }
             if (isDirty(SubSceneDirtyBits.ROOT_SG_DIRTY)) {