mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:24:22 +02:00
change signature of copy return
This commit is contained in:
parent
430cb7876d
commit
22f5d4df6d
2 changed files with 2 additions and 2 deletions
|
@ -982,7 +982,7 @@ void MyAvatar::updateLookAtTargetAvatar() {
|
|||
const float KEEP_LOOKING_AT_CURRENT_ANGLE_FACTOR = 1.3f;
|
||||
const float GREATEST_LOOKING_AT_DISTANCE = 10.0f;
|
||||
|
||||
AvatarHash hash = DependencyManager::get<AvatarManager>()->getCopy();
|
||||
AvatarHash hash = DependencyManager::get<AvatarManager>()->getHashCopy();
|
||||
|
||||
foreach (const AvatarSharedPointer& avatarPointer, hash) {
|
||||
auto avatar = static_pointer_cast<Avatar>(avatarPointer);
|
||||
|
|
|
@ -31,7 +31,7 @@ class AvatarHashMap : public QObject, public Dependency {
|
|||
SINGLETON_DEPENDENCY
|
||||
|
||||
public:
|
||||
AvatarHash getCopy() { return _avatarHash; }
|
||||
AvatarHash getHashCopy() { return _avatarHash; }
|
||||
int size() { return _avatarHash.size(); }
|
||||
|
||||
signals:
|
||||
|
|
Loading…
Reference in a new issue