mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:17:43 +02:00
remove unused argument
This commit is contained in:
parent
b5ca93a019
commit
dbeea4038d
2 changed files with 3 additions and 4 deletions
|
@ -260,8 +260,7 @@ void EntityTreeRenderer::clearDomainAndNonOwnedEntities() {
|
||||||
_renderablesToUpdate = savedRenderables;
|
_renderablesToUpdate = savedRenderables;
|
||||||
_entitiesInScene = savedEntities;
|
_entitiesInScene = savedEntities;
|
||||||
|
|
||||||
auto sessionUUID = getTree()->getMyAvatarSessionUUID();
|
if (_layeredZones.clearDomainAndNonOwnedZones()) {
|
||||||
if (_layeredZones.clearDomainAndNonOwnedZones(sessionUUID)) {
|
|
||||||
applyLayeredZones();
|
applyLayeredZones();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1215,7 +1214,7 @@ void EntityTreeRenderer::updateZone(const EntityItemID& id) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EntityTreeRenderer::LayeredZones::clearDomainAndNonOwnedZones(const QUuid& sessionUUID) {
|
bool EntityTreeRenderer::LayeredZones::clearDomainAndNonOwnedZones() {
|
||||||
bool zonesChanged = false;
|
bool zonesChanged = false;
|
||||||
|
|
||||||
auto it = begin();
|
auto it = begin();
|
||||||
|
|
|
@ -230,7 +230,7 @@ private:
|
||||||
|
|
||||||
class LayeredZones : public std::vector<LayeredZone> {
|
class LayeredZones : public std::vector<LayeredZone> {
|
||||||
public:
|
public:
|
||||||
bool clearDomainAndNonOwnedZones(const QUuid& sessionUUID);
|
bool clearDomainAndNonOwnedZones();
|
||||||
|
|
||||||
void sort() { std::sort(begin(), end(), std::less<LayeredZone>()); }
|
void sort() { std::sort(begin(), end(), std::less<LayeredZone>()); }
|
||||||
bool equals(const LayeredZones& other) const;
|
bool equals(const LayeredZones& other) const;
|
||||||
|
|
Loading…
Reference in a new issue