Normand Briere
2019-09-28 c3c47406ac43dafd51e6ad1d7b92a794bd69b7d6
CameraPane.java
....@@ -250,7 +250,7 @@
250250
251251 public javax.media.opengl.GL GetGL0()
252252 {
253
- return null;
253
+ return currentGL;
254254 }
255255
256256 public int GenList()
....@@ -10761,7 +10761,9 @@
1076110761 }
1076210762 /**/
1076310763
10764
- if (selection)
10764
+ boolean control = ((modifiers & CTRL) != 0);
10765
+
10766
+ if (selection && (!Globals.isLIVE() || control))
1076510767 {
1076610768 selectbuffer.display();
1076710769 return;
....@@ -14346,8 +14348,6 @@
1434614348
1434714349 public void mousePressed(MouseEvent e)
1434814350 {
14349
- RigidBody.justclicked = true;
14350
- System.out.println("justclicked: " + e);
1435114351 //System.out.println("mousePressed: " + e);
1435214352 clickStart(e.getX(), e.getY(), e.getModifiers(), e.getModifiersEx());
1435314353 }
....@@ -14655,7 +14655,7 @@
1465514655 boolean jump;
1465614656 boolean live;
1465714657
14658
- boolean mute;
14658
+ boolean mute = false;
1465914659
1466014660 // void JumpToTarget()
1466114661 // {
....@@ -15367,6 +15367,12 @@
1536715367
1536815368 public void mouseReleased(MouseEvent e)
1536915369 {
15370
+ if (isRenderer && !movingcamera)
15371
+ {
15372
+ RigidBody.justclicked = true;
15373
+ System.out.println("justclicked: " + e);
15374
+ }
15375
+
1537015376 Globals.MOUSEDRAGGED = false;
1537115377
1537215378 movingcamera = false;