Browse Source

Prepare the SDK for alpha5.
THIS DOES NOT COMPILE YET!

MeFisto94 9 years ago
parent
commit
6e3f045f43

+ 1 - 1
branding/core/core.jar/org/netbeans/core/startup/Bundle.properties

@@ -1,6 +1,6 @@
 #Updated by build script
 #Sat, 27 Aug 2011 22:46:29 +0200
-currentVersion=jMonkeyEngine SDK 3.1.0-alpha3
+currentVersion=jMonkeyEngine SDK 3.1.0-alpha5
 LBL_splash_window_title=Starting jMonkeyEngine SDK
 SPLASH_HEIGHT=350
 SPLASH_WIDTH=500

+ 2 - 2
branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties

@@ -1,4 +1,4 @@
 #Updated by build script
 #Sat, 27 Aug 2011 22:46:29 +0200
-CTL_MainWindow_Title=jMonkeyEngine SDK 3.1.0-alpha3
-CTL_MainWindow_Title_No_Project=jMonkeyEngine SDK 3.1.0-alpha3
+CTL_MainWindow_Title=jMonkeyEngine SDK 3.1.0-alpha5
+CTL_MainWindow_Title_No_Project=jMonkeyEngine SDK 3.1.0-alpha5

+ 1 - 1
build.gradle

@@ -22,7 +22,7 @@ repositories {
 
 }
 
-ext.jmeFullVersion = "3.1.0-alpha4" //3.1.0-SNAPSHOT
+ext.jmeFullVersion = "3.1.0-alpha5" //3.1.0-SNAPSHOT
 ext.jmeNbmRevision = 0
 
 configurations {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/scene/controller/SceneToolController.java

@@ -248,9 +248,8 @@ public class SceneToolController implements AppState {
             BoundingBox bbox = (BoundingBox) bound;
             Vector3f extent = new Vector3f();
             bbox.getExtent(extent);
-            WireBox wireBox = new WireBox();
-            wireBox.fromBoundingBox(bbox);
-            final Geometry selectionGeometry = new Geometry("selection_geometry_sceneviewer", wireBox);
+            final Geometry selectionGeometry = WireBox.makeGeometry(bbox);
+            selectionGeometry.setName("selection_geometry_sceneviewer");
             selectionGeometry.setMaterial(blueMat);
             selectionGeometry.setLocalTranslation(bbox.getCenter().subtract(geom.getWorldTranslation()));
             //Vector3f scale = new Vector3f(1,1,1);