History

Merge branch 'master' of https://github.com/worklist/hifi into 19483

stojce committed 12 years ago

Commit daffadb2 parents 01b9bd6 2fe666a22 files · +203 −73Browse files

Showing the changes to interface/src/Application.cpp (1 of 22 files). Show all

Unified · Split

interface/src/Application.cpp+2−3
@@ -2006,7 +2006,7 @@ void Application::updateAvatars(float deltaTime, glm::vec3 mouseRayOrigin, glm:: · 2005 unmodified lines
20062006 PerformanceWarning warn(showWarnings, "Application::updateAvatars()");
20072007
20082008 foreach (const SharedNodePointer& node, NodeList::getInstance()->getNodeHash()) {
2009− QMutexLocker(&node->getMutex());
2009+ QMutexLocker locker(&node->getMutex());
20102010 if (node->getLinkedData()) {
20112011 Avatar *avatar = (Avatar *)node->getLinkedData();
20122012 if (!avatar->isInitialized()) {
@@ -2168,7 +2168,6 @@ void Application::updateMouseVoxels(float deltaTime, glm::vec3& mouseRayOrigin, · 155 unmodified lines
21682168
21692169 _mouseVoxel.s = 0.0f;
21702170 bool wasInitialized = _mouseVoxelScaleInitialized;
2171− _mouseVoxelScaleInitialized = false;
21722171 if (Menu::getInstance()->isVoxelModeActionChecked() &&
21732172 (fabs(_myAvatar.getVelocity().x) +
21742173 fabs(_myAvatar.getVelocity().y) +
@@ -3660,7 +3659,7 @@ void Application::renderAvatars(bool forceRenderHead, bool selfAvatarOnly) { · 1485 unmodified lines
36603659 NodeList* nodeList = NodeList::getInstance();
36613660
36623661 foreach (const SharedNodePointer& node, nodeList->getNodeHash()) {
3663− QMutexLocker(&node->getMutex());
3662+ QMutexLocker locker(&node->getMutex());
36643663
36653664 if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) {
36663665 Avatar *avatar = (Avatar *)node->getLinkedData();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t