mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
fix a couple of compile errors for avatar changes
This commit is contained in:
parent
859122db5d
commit
ca1ff9b0f5
3 changed files with 1 additions and 7 deletions
|
@ -56,10 +56,6 @@ static void localLightFromScriptValue(const QScriptValue& value, AvatarManager::
|
|||
vec3FromScriptValue(value.property("color"), light.color);
|
||||
}
|
||||
|
||||
AvatarManager::AvatarManager() {
|
||||
|
||||
}
|
||||
|
||||
void AvatarManager::registerMetaTypes(QScriptEngine* engine) {
|
||||
qScriptRegisterMetaType(engine, localLightToScriptValue, localLightFromScriptValue);
|
||||
qScriptRegisterSequenceMetaType<QVector<AvatarManager::LocalLight> >(engine);
|
||||
|
|
|
@ -29,8 +29,6 @@ class AvatarManager : public AvatarHashMap {
|
|||
SINGLETON_DEPENDENCY
|
||||
|
||||
public:
|
||||
AvatarManager();
|
||||
|
||||
/// Registers the script types associated with the avatar manager.
|
||||
static void registerMetaTypes(QScriptEngine* engine);
|
||||
|
||||
|
|
|
@ -872,7 +872,7 @@ AttachmentData MyAvatar::loadAttachmentData(const QUrl& modelURL, const QString&
|
|||
|
||||
int MyAvatar::parseDataFromBuffer(const QByteArray& buffer) {
|
||||
qCDebug(interfaceapp) << "Error: ignoring update packet for MyAvatar"
|
||||
<< " packetLength = " << buffer.size()
|
||||
<< " packetLength = " << buffer.size();
|
||||
// this packet is just bad, so we pretend that we unpacked it ALL
|
||||
return buffer.size();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue