SpatiallyNestable: made getParentPointer protected again.

This commit is contained in:
Anthony J. Thibault 2016-02-08 20:04:45 -08:00
parent 072172b1a2
commit 9a0e206843

View file

@ -137,13 +137,13 @@ public:
bool isDead() const { return _isDead; }
bool isParentIDValid() const { bool success = false; getParentPointer(success); return success; }
SpatiallyNestablePointer getParentPointer(bool& success) const;
protected:
const NestableType _nestableType; // EntityItem or an AvatarData
QUuid _id;
QUuid _parentID; // what is this thing's transform relative to?
quint16 _parentJointIndex { 0 }; // which joint of the parent is this relative to?
SpatiallyNestablePointer getParentPointer(bool& success) const;
mutable SpatiallyNestableWeakPointer _parent;