Overte open source virtual worlds platform.
Find a file
Eric Johnston 802abade4f Fixed problem in idle(), causing events to stack up.
The problem was that idle() was set on a zero-ms timer (using idleTimer->start(0)), and the time is then self-regulated by returning early if it's not time yet.
Because of this, Qt stays perpetually in the timer servicing, instead of processing events. This causes keys and menu items to be delayed if the user drags the mouse before activating them, especially at low frame rates. It also causes very-delayed multitouch response.

The fix I've applied is to reset the idle timer after servicing the idle. I've set it to 2ms because I noticed that 1ms didn't always clear out all of the events. We can tune it to whatever we need, or even calculate it based on the time it took us to service the idle.
2013-07-15 18:16:50 -07:00
animation-server Merge pull request #672 from birarda/domain-switch 2013-07-15 17:10:18 -07:00
audio-mixer add method to NodeList to set domain IP to local, move mutex lock to node 2013-07-15 15:17:10 -07:00
avatar-mixer Merge pull request #672 from birarda/domain-switch 2013-07-15 17:10:18 -07:00
cmake Use InvenSense code to handle the rather complicated business of talking the 2013-07-09 17:28:23 -07:00
domain-server fix node ID return from domain server 2013-07-11 12:09:42 -07:00
eve resolve conflicts on merge with upstream master 2013-07-11 10:58:45 -07:00
externals add the STK library for future audio magic 2013-05-30 12:25:29 -07:00
hardware/head_hand Revert "read from magnetometer on SDA, SLC" 2013-02-27 14:45:52 -08:00
injector send brodcastPacket instead of pointer to broadcastPacket 2013-07-11 11:07:27 -07:00
interface Fixed problem in idle(), causing events to stack up. 2013-07-15 18:16:50 -07:00
jenkins replace just the script command instead of the full block 2013-06-26 14:25:03 -07:00
libraries Merge pull request #672 from birarda/domain-switch 2013-07-15 17:10:18 -07:00
pairing-server couple of type squishes 2013-05-13 16:36:55 -07:00
space-server remove the unecessary trailing slash when setting root dir 2013-04-15 14:59:48 -07:00
tools move gen_stars to the tools folder 2013-05-22 12:39:27 -07:00
voxel-edit CR feedback 2013-06-04 01:13:58 -07:00
voxel-server add method to NodeList to set domain IP to local, move mutex lock to node 2013-07-15 15:17:10 -07:00
.gitignore Update .gitignore to exclude the Leap SDK files, but not the stub header 2013-06-27 13:55:16 -07:00
CMakeLists.txt reinstate an alphatbetical ordering in root CMakeLists 2013-05-17 17:52:23 -07:00
hifi.podspec remove specific glm version, don't specify commit 2013-07-01 09:45:11 -07:00
LICENSE add an all rights reserved license 2013-07-01 11:56:19 -07:00
README.md fix incorrect casing of Xcode in CMake command 2013-03-19 10:52:14 -07:00

interface

Test platform for various render and interface tests for next-gen VR system.

CMake

This project uses CMake to generate build files and project files for your platform.

Create a build directory in the root of your checkout and then run the CMake build from there. This will keep the rest of the directory clean, and makes the gitignore a little easier to handle (since we can just ignore build).

mkdir build
cd build
cmake .. -GXcode

Those are the commands used on OS X to run CMake from the build folder and generate XCode project files.