mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 19:22:57 +02:00
Don't hide mouse events from C++ GUI
This commit is contained in:
parent
6a4577b6a5
commit
c0ac9333e9
1 changed files with 0 additions and 8 deletions
|
@ -80,14 +80,6 @@ Controller.mousePressEvent.connect(mousePressEvent);
|
||||||
Controller.mouseMoveEvent.connect(mouseMoveEvent);
|
Controller.mouseMoveEvent.connect(mouseMoveEvent);
|
||||||
Controller.mouseReleaseEvent.connect(mouseReleaseEvent);
|
Controller.mouseReleaseEvent.connect(mouseReleaseEvent);
|
||||||
|
|
||||||
// disable the standard application for mouse events
|
|
||||||
Controller.captureMouseEvents();
|
|
||||||
|
|
||||||
function scriptEnding() {
|
|
||||||
// re-enabled the standard application for mouse events
|
|
||||||
Controller.releaseMouseEvents();
|
|
||||||
}
|
|
||||||
|
|
||||||
MyAvatar.bodyYaw = 0;
|
MyAvatar.bodyYaw = 0;
|
||||||
MyAvatar.bodyPitch = 0;
|
MyAvatar.bodyPitch = 0;
|
||||||
MyAvatar.bodyRoll = 0;
|
MyAvatar.bodyRoll = 0;
|
||||||
|
|
Loading…
Reference in a new issue