explicit delete default ctor, make _nestableType private

This commit is contained in:
Andrew Meadows 2018-08-15 10:19:32 -07:00
parent 21adbf49c0
commit 55b1a6762c

View file

@ -212,7 +212,6 @@ public:
virtual void parentDeleted() { } // called on children of a deleted parent
protected:
const NestableType _nestableType; // EntityItem or an AvatarData
QUuid _id;
mutable SpatiallyNestableWeakPointer _parent;
@ -232,6 +231,8 @@ protected:
quint64 _rotationChanged { 0 };
private:
SpatiallyNestable() = delete;
const NestableType _nestableType; // EntityItem or an AvatarData
QUuid _parentID; // what is this thing's transform relative to?
quint16 _parentJointIndex { INVALID_JOINT_INDEX }; // which joint of the parent is this relative to?