mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-12 21:02:11 +02:00
Merge pull request #174 from ey6es/master
I had forgotten to include the primary fix!
This commit is contained in:
commit
67a7692f9d
1 changed files with 4 additions and 4 deletions
|
@ -1623,9 +1623,6 @@ int main(int argc, const char * argv[])
|
||||||
voxels_lib::printLog = & ::printLog;
|
voxels_lib::printLog = & ::printLog;
|
||||||
avatars_lib::printLog = & ::printLog;
|
avatars_lib::printLog = & ::printLog;
|
||||||
|
|
||||||
// we need to create a QApplication instance in order to use Qt's font rendering
|
|
||||||
app = new QApplication(argc, const_cast<char**>(argv));
|
|
||||||
|
|
||||||
unsigned int listenPort = AGENT_SOCKET_LISTEN_PORT;
|
unsigned int listenPort = AGENT_SOCKET_LISTEN_PORT;
|
||||||
const char* portStr = getCmdOption(argc, argv, "--listenPort");
|
const char* portStr = getCmdOption(argc, argv, "--listenPort");
|
||||||
if (portStr) {
|
if (portStr) {
|
||||||
|
@ -1679,6 +1676,9 @@ int main(int argc, const char * argv[])
|
||||||
glewInit();
|
glewInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// we need to create a QApplication instance in order to use Qt's font rendering
|
||||||
|
app = new QApplication(argc, const_cast<char**>(argv));
|
||||||
|
|
||||||
// Before we render anything, let's set up our viewFrustumOffsetCamera with a sufficiently large
|
// Before we render anything, let's set up our viewFrustumOffsetCamera with a sufficiently large
|
||||||
// field of view and near and far clip to make it interesting.
|
// field of view and near and far clip to make it interesting.
|
||||||
//viewFrustumOffsetCamera.setFieldOfView(90.0);
|
//viewFrustumOffsetCamera.setFieldOfView(90.0);
|
||||||
|
|
Loading…
Reference in a new issue