@@ -1040,8 +1040,7 @@ public MeshView addObject(CSG currentCsg, File source, double opacity, CSGDataba
10401040 string2 = lp .getOptions ().get (0 ).toString ();
10411041 } catch (Exception ex ) {
10421042 // some parameters from cadoodle do not work here...
1043- com .neuronrobotics .sdk .common .Log .error (ex );
1044- ;
1043+ com .neuronrobotics .sdk .common .Log .error (ex );;
10451044 }
10461045 else {
10471046 string = lp .getMM () + "" ;
@@ -1081,8 +1080,7 @@ public void onSliderDoneMoving(EngineeringUnitsSliderWidget s,
10811080 customMenuItem .setHideOnClick (false );
10821081 parameters .getItems ().add (customMenuItem );
10831082 } catch (Exception ex ) {
1084- com .neuronrobotics .sdk .common .Log .error (ex );
1085- ;
1083+ com .neuronrobotics .sdk .common .Log .error (ex );;
10861084 }
10871085 // com.neuronrobotics.sdk.common.Log.error("Adding Length Paramater " +
10881086 // lp.getName());
@@ -1122,8 +1120,7 @@ public void onSliderDoneMoving(EngineeringUnitsSliderWidget s,
11221120 // lp.getName());
11231121 }
11241122 } catch (Exception ex ) {
1125- com .neuronrobotics .sdk .common .Log .error (ex );
1126- ;
1123+ com .neuronrobotics .sdk .common .Log .error (ex );;
11271124 }
11281125 }
11291126 }
@@ -2562,11 +2559,13 @@ public void focusOrientation(TransformNR orient, TransformNR trans, double zoom)
25622559
25632560 private void runSyncFocus (TransformNR orient , TransformNR trans , double zoom ) {
25642561
2565- double az = (orient == null ) ? 0
2562+ double az = (orient == null )
2563+ ? 0
25662564 : bound180 (getFlyingCamera ().getPanAngle () - 90
25672565 + Math .toDegrees (orient .getRotation ().getRotationAzimuthRadians ()));
25682566
2569- double el = (orient == null ) ? 0
2567+ double el = (orient == null )
2568+ ? 0
25702569 : bound180 (getFlyingCamera ().getTiltAngle () + 90
25712570 + Math .toDegrees (orient .getRotation ().getRotationElevationRadians ()));
25722571 // com.neuronrobotics.sdk.common.Log.error("Focus from\n\taz:" + az + " \n\tel:"
@@ -2776,11 +2775,11 @@ public static void main(String[] args) {
27762775 BowlerStudio3dEngine engine = new BowlerStudio3dEngine ("Test" );
27772776 engine .rebuild (true );
27782777 engine .setFocusTraversable (true );
2779-
2778+
27802779 engine .addTo (view3d );
27812780 engine .bind (view3d );
27822781 engine .handleMouse (view3d );
2783-
2782+
27842783
27852784 BowlerKernel .runLater (() -> {
27862785 Stage newStage = new Stage ();
0 commit comments