Showing the changes to interface/src/main.cpp (1 of 20 files). Show all
Unified · Split
| @@ -305,6 +305,7 @@ void init(void) · 304 unmodified lines | ||
| 305 | 305 | { |
| 306 | 306 | voxels.init(); |
| 307 | 307 | voxels.setViewerAvatar(&myAvatar); |
| 308 | + voxels.setCamera(&myCamera); | |
| 308 | 309 | |
| 309 | 310 | handControl.setScreenDimensions(WIDTH, HEIGHT); |
| 310 | 311 | |
| @@ -1624,12 +1625,6 @@ int main(int argc, const char * argv[]) · 1313 unmodified lines | ||
| 1624 | 1625 | // we need to create a QApplication instance in order to use Qt's font rendering |
| 1625 | 1626 | app = new QApplication(argc, const_cast<char**>(argv)); |
| 1626 | 1627 | |
| 1627 | − // Quick test of the Orientation class on startup! | |
| 1628 | − if (cmdOptionExists(argc, argv, "--testOrientation")) { | |
| 1629 | − testOrientationClass(); | |
| 1630 | − return EXIT_SUCCESS; | |
| 1631 | − } | |
| 1632 | − | |
| 1633 | 1628 | unsigned int listenPort = AGENT_SOCKET_LISTEN_PORT; |
| 1634 | 1629 | const char* portStr = getCmdOption(argc, argv, "--listenPort"); |
| 1635 | 1630 | if (portStr) { |