Skip to content

Commit 07f7859

Browse files
committed
convert tabs to spaces in 18 .java files
1 parent aa9e121 commit 07f7859

File tree

18 files changed

+1094
-1095
lines changed

18 files changed

+1094
-1095
lines changed

jme3-bullet/src/common/java/com/jme3/bullet/control/KinematicRagdollControl.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -879,21 +879,21 @@ protected void setMode(Mode mode) {
879879
animControl.setEnabled(mode == Mode.Kinematic);
880880

881881
baseRigidBody.setKinematic(mode == Mode.Kinematic);
882-
if (mode != Mode.IK) {
883-
TempVars vars = TempVars.get();
884-
885-
for (PhysicsBoneLink link : boneLinks.values()) {
886-
link.rigidBody.setKinematic(mode == Mode.Kinematic);
887-
if (mode == Mode.Ragdoll) {
888-
Quaternion tmpRot1 = vars.quat1;
889-
Vector3f position = vars.vect1;
890-
//making sure that the ragdoll is at the correct place.
891-
matchPhysicObjectToBone(link, position, tmpRot1);
892-
}
893-
894-
}
895-
vars.release();
896-
}
882+
if (mode != Mode.IK) {
883+
TempVars vars = TempVars.get();
884+
885+
for (PhysicsBoneLink link : boneLinks.values()) {
886+
link.rigidBody.setKinematic(mode == Mode.Kinematic);
887+
if (mode == Mode.Ragdoll) {
888+
Quaternion tmpRot1 = vars.quat1;
889+
Vector3f position = vars.vect1;
890+
//making sure that the ragdoll is at the correct place.
891+
matchPhysicObjectToBone(link, position, tmpRot1);
892+
}
893+
894+
}
895+
vars.release();
896+
}
897897

898898
if(mode != Mode.IK){
899899
for (Bone bone : skeleton.getRoots()) {

jme3-desktop/src/main/java/com/jme3/app/state/AWTComponentAppState.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ public void initialize(AppStateManager stateManager, Application app) {
6161
@Override
6262
public void stateAttached(final AppStateManager stateManager) {
6363
processor = new AWTFrameProcessor();
64-
processor.setTransferMode(transferMode);
64+
processor.setTransferMode(transferMode);
6565

66-
AWTTaskExecutor.getInstance().addToExecute(new Runnable() {
66+
AWTTaskExecutor.getInstance().addToExecute(new Runnable() {
6767

68-
@Override
69-
public void run() {
70-
processor.bind(component, stateManager.getApplication(), stateManager.getApplication().getViewPort());
71-
}
72-
73-
});
68+
@Override
69+
public void run() {
70+
processor.bind(component, stateManager.getApplication(), stateManager.getApplication().getViewPort());
71+
}
72+
73+
});
7474
}
7575

7676
@Override
@@ -80,7 +80,7 @@ public void setEnabled(boolean enabled) {
8080

8181
@Override
8282
public void update(float tpf) {
83-
executor.execute();
83+
executor.execute();
8484
super.update(tpf);
8585
}
8686

@@ -121,7 +121,7 @@ public void setComponent(Component component) {
121121
* @see #setTransferMode(com.jme3.system.AWTFrameProcessor.TransferMode)
122122
*/
123123
public AWTFrameProcessor.TransferMode getTransferMode(){
124-
return transferMode;
124+
return transferMode;
125125
}
126126

127127
/**
@@ -130,6 +130,6 @@ public AWTFrameProcessor.TransferMode getTransferMode(){
130130
* @see #getTransferMode()
131131
*/
132132
public void setTransferMode(AWTFrameProcessor.TransferMode mode) {
133-
this.transferMode = mode;
133+
this.transferMode = mode;
134134
}
135135
}

jme3-desktop/src/main/java/com/jme3/input/awt/AwtKeyInput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ public static int convertAwtKey(int key) {
610610
case KeyEvent.VK_ALT:
611611
return KEY_LMENU; //Left vs. Right need to improve
612612
case KeyEvent.VK_META:
613-
return KEY_RCONTROL;
613+
return KEY_RCONTROL;
614614
case KeyEvent.VK_PRINTSCREEN:
615615
return KEY_PRTSCR;
616616

jme3-desktop/src/main/java/com/jme3/input/awt/AwtMouseInput.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,14 @@ private Cursor getTransparentCursor() {
213213
return transparentCursor;
214214
}
215215

216-
// public void setHardwareCursor(URL file, int xHotspot, int yHotspot) {
217-
// //Create the image from the provided url
218-
// java.awt.Image cursorImage = new ImageIcon( file ).getImage( );
219-
// //Create a custom cursor with this image
220-
// opaqueCursor = Toolkit.getDefaultToolkit().createCustomCursor( cursorImage , new Point( xHotspot , yHotspot ) , "custom cursor" );
221-
// //Use this cursor
222-
// setCursorVisible( isCursorVisible );
223-
// }
216+
// public void setHardwareCursor(URL file, int xHotspot, int yHotspot) {
217+
// //Create the image from the provided url
218+
// java.awt.Image cursorImage = new ImageIcon( file ).getImage( );
219+
// //Create a custom cursor with this image
220+
// opaqueCursor = Toolkit.getDefaultToolkit().createCustomCursor( cursorImage , new Point( xHotspot , yHotspot ) , "custom cursor" );
221+
// //Use this cursor
222+
// setCursorVisible( isCursorVisible );
223+
// }
224224

225225

226226
@Override

0 commit comments

Comments
 (0)