mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 03:42:09 +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;
|
||||
_entitiesInScene = savedEntities;
|
||||
|
||||
auto sessionUUID = getTree()->getMyAvatarSessionUUID();
|
||||
if (_layeredZones.clearDomainAndNonOwnedZones(sessionUUID)) {
|
||||
if (_layeredZones.clearDomainAndNonOwnedZones()) {
|
||||
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;
|
||||
|
||||
auto it = begin();
|
||||
|
|
|
@ -230,7 +230,7 @@ private:
|
|||
|
||||
class LayeredZones : public std::vector<LayeredZone> {
|
||||
public:
|
||||
bool clearDomainAndNonOwnedZones(const QUuid& sessionUUID);
|
||||
bool clearDomainAndNonOwnedZones();
|
||||
|
||||
void sort() { std::sort(begin(), end(), std::less<LayeredZone>()); }
|
||||
bool equals(const LayeredZones& other) const;
|
||||
|
|
Loading…
Reference in a new issue