Normand Briere
2019-09-02 171c62e16a2bfc111001777235a6783e2986ccdd
CameraPane.java
....@@ -2082,7 +2082,8 @@
20822082
20832083 camerachangeframe = Globals.framecount;
20842084
2085
- cam.hAspect = -1; // Read only
2085
+ if (cam != null)
2086
+ cam.hAspect = -1; // Read only
20862087
20872088 cameras[0] = cam;
20882089 targetLookAts[0] = new cVector(cam.lookAt);
....@@ -2395,7 +2396,8 @@
23952396 {
23962397 //System.out.println("PROTECTION = " + cam.hAspect);
23972398 //assert (cam.hAspect == 0);
2398
- cam.hAspect = 0;
2399
+ if (cam != null)
2400
+ cam.hAspect = 0;
23992401 lightCamera = cam;
24002402 }
24012403
....@@ -14839,7 +14841,7 @@
1483914841 if((mod&SHIFT) == SHIFT)
1484014842 {
1484114843 if (isVR)
14842
- manipCamera.RotateInterest(0, -speed);
14844
+ manipCamera.RotateInterest(0, speed);
1484314845 else
1484414846 manipCamera.RotatePosition(0, -speed);
1484514847 }
....@@ -14869,7 +14871,7 @@
1486914871 if((mod&SHIFT) == SHIFT)
1487014872 {
1487114873 if (isVR)
14872
- manipCamera.RotateInterest(0, speed);
14874
+ manipCamera.RotateInterest(0, -speed);
1487314875 else
1487414876 manipCamera.RotatePosition(0, speed);
1487514877 }
....@@ -15583,7 +15585,8 @@
1558315585 break;
1558415586 case 'm':
1558515587 {
15586
- PrintMemory();
15588
+ //PrintMemory();
15589
+ ToggleImageFlip();
1558715590 break;
1558815591 }
1558915592 case 'M':