mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
enable delta sending by default
This commit is contained in:
parent
d4ce00de77
commit
9aed3d3cc6
4 changed files with 8 additions and 6 deletions
|
@ -1235,8 +1235,8 @@ void Application::setWantsMonochrome(bool wantsMonochrome) {
|
|||
_myAvatar.setWantColor(!wantsMonochrome);
|
||||
}
|
||||
|
||||
void Application::setWantsDelta(bool wantsDelta) {
|
||||
_myAvatar.setWantDelta(wantsDelta);
|
||||
void Application::disableDeltaSending(bool disableDeltaSending) {
|
||||
_myAvatar.setWantDelta(!disableDeltaSending);
|
||||
}
|
||||
|
||||
void Application::disableOcclusionCulling(bool disableOcclusionCulling) {
|
||||
|
@ -1626,7 +1626,7 @@ void Application::initMenu() {
|
|||
renderDebugMenu->addAction("Show TRUE Colors", this, SLOT(doTrueVoxelColors()), Qt::CTRL | Qt::Key_T);
|
||||
|
||||
debugMenu->addAction("Wants Monochrome", this, SLOT(setWantsMonochrome(bool)))->setCheckable(true);
|
||||
debugMenu->addAction("Wants View Delta Sending", this, SLOT(setWantsDelta(bool)))->setCheckable(true);
|
||||
debugMenu->addAction("Disable Delta Sending", this, SLOT(disableDeltaSending(bool)))->setCheckable(true);
|
||||
(_shouldLowPassFilter = debugMenu->addAction("Test: LowPass filter"))->setCheckable(true);
|
||||
debugMenu->addAction("Disable Occlusion Culling", this, SLOT(disableOcclusionCulling(bool)),
|
||||
Qt::SHIFT | Qt::Key_C)->setCheckable(true);
|
||||
|
|
|
@ -136,7 +136,7 @@ private slots:
|
|||
void doTrueVoxelColors();
|
||||
void doTreeStats();
|
||||
void setWantsMonochrome(bool wantsMonochrome);
|
||||
void setWantsDelta(bool wantsDelta);
|
||||
void disableDeltaSending(bool disableDeltaSending);
|
||||
void disableOcclusionCulling(bool disableOcclusionCulling);
|
||||
void updateVoxelModeActions();
|
||||
void decreaseVoxelSize();
|
||||
|
|
|
@ -33,7 +33,7 @@ AvatarData::AvatarData(Node* owningNode) :
|
|||
_cameraFarClip(0.0f),
|
||||
_keyState(NO_KEY_DOWN),
|
||||
_wantColor(true),
|
||||
_wantDelta(false),
|
||||
_wantDelta(true),
|
||||
_wantOcclusionCulling(true),
|
||||
_headData(NULL),
|
||||
_handData(NULL)
|
||||
|
|
|
@ -151,7 +151,9 @@ void deepestLevelVoxelDistributor(NodeList* nodeList,
|
|||
} else {
|
||||
printf("elapsed time to send scene = %f seconds", elapsedSceneSend);
|
||||
}
|
||||
printf(" [occlusionCulling: %s]\n", debug::valueOf(nodeData->getWantOcclusionCulling()));
|
||||
printf(" [occlusionCulling:%s, wantDelta:%s, wantColor:%s ]\n",
|
||||
debug::valueOf(nodeData->getWantOcclusionCulling()), debug::valueOf(wantDelta),
|
||||
debug::valueOf(wantColor));
|
||||
}
|
||||
nodeData->setLastTimeBagEmpty(now);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue