mirror of
https://github.com/overte-org/overte.git
synced 2025-07-15 21:16:39 +02:00
removed editor auto format errors
This commit is contained in:
parent
7ecf8c24df
commit
1fcaf16b0c
3 changed files with 38 additions and 56 deletions
|
@ -1873,8 +1873,6 @@ void Avatar::processMaterials() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
scriptable::ScriptableModelBase Avatar::getScriptableModel() {
|
||||
if (!_skeletonModel || !_skeletonModel->isLoaded()) {
|
||||
return scriptable::ScriptableModelBase();
|
||||
|
|
|
@ -26,10 +26,6 @@
|
|||
#include "Head.h"
|
||||
#include "SkeletonModel.h"
|
||||
#include "Rig.h"
|
||||
#include "../../interface/src/ui/overlays/Overlays.h"
|
||||
#include "../../interface/src/ui/overlays/Sphere3DOverlay.h"
|
||||
|
||||
|
||||
#include <ThreadSafeValueCache.h>
|
||||
|
||||
namespace render {
|
||||
|
@ -39,8 +35,6 @@ namespace render {
|
|||
template <> uint32_t metaFetchMetaSubItems(const AvatarSharedPointer& avatar, ItemIDs& subItems);
|
||||
}
|
||||
|
||||
// namespace render
|
||||
|
||||
static const float SCALING_RATIO = .05f;
|
||||
|
||||
extern const float CHAT_MESSAGE_SCALE;
|
||||
|
@ -172,12 +166,8 @@ public:
|
|||
|
||||
virtual int parseDataFromBuffer(const QByteArray& buffer) override;
|
||||
|
||||
static void renderJointConnectingCone(gpu::Batch& batch,
|
||||
glm::vec3 position1,
|
||||
glm::vec3 position2,
|
||||
float radius1,
|
||||
float radius2,
|
||||
const glm::vec4& color);
|
||||
static void renderJointConnectingCone(gpu::Batch& batch, glm::vec3 position1, glm::vec3 position2,
|
||||
float radius1, float radius2, const glm::vec4& color);
|
||||
|
||||
virtual void applyCollision(const glm::vec3& contactPoint, const glm::vec3& penetration) { }
|
||||
|
||||
|
@ -435,13 +425,9 @@ protected:
|
|||
float getUnscaledEyeHeightFromSkeleton() const;
|
||||
void buildUnscaledEyeHeightCache();
|
||||
void clearUnscaledEyeHeightCache();
|
||||
virtual const QString& getSessionDisplayNameForTransport() const override {
|
||||
return _empty;
|
||||
} // Save a tiny bit of bandwidth. Mixer won't look at what we send.
|
||||
virtual const QString& getSessionDisplayNameForTransport() const override { return _empty; } // Save a tiny bit of bandwidth. Mixer won't look at what we send.
|
||||
QString _empty{};
|
||||
virtual void maybeUpdateSessionDisplayNameFromTransport(const QString& sessionDisplayName) override {
|
||||
_sessionDisplayName = sessionDisplayName;
|
||||
} // don't use no-op setter!
|
||||
virtual void maybeUpdateSessionDisplayNameFromTransport(const QString& sessionDisplayName) override { _sessionDisplayName = sessionDisplayName; } // don't use no-op setter!
|
||||
|
||||
SkeletonModelPointer _skeletonModel;
|
||||
|
||||
|
|
|
@ -55,8 +55,6 @@
|
|||
#include "PathUtils.h"
|
||||
|
||||
#include <graphics/Material.h>
|
||||
//#include "Overlays.h"
|
||||
//#include "Sphere3DOverlay.h"
|
||||
|
||||
using AvatarSharedPointer = std::shared_ptr<AvatarData>;
|
||||
using AvatarWeakPointer = std::weak_ptr<AvatarData>;
|
||||
|
|
Loading…
Reference in a new issue