mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
SpatiallyNestable: made getParentPointer protected again.
This commit is contained in:
parent
072172b1a2
commit
9a0e206843
1 changed files with 1 additions and 1 deletions
|
@ -137,13 +137,13 @@ public:
|
||||||
bool isDead() const { return _isDead; }
|
bool isDead() const { return _isDead; }
|
||||||
|
|
||||||
bool isParentIDValid() const { bool success = false; getParentPointer(success); return success; }
|
bool isParentIDValid() const { bool success = false; getParentPointer(success); return success; }
|
||||||
SpatiallyNestablePointer getParentPointer(bool& success) const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const NestableType _nestableType; // EntityItem or an AvatarData
|
const NestableType _nestableType; // EntityItem or an AvatarData
|
||||||
QUuid _id;
|
QUuid _id;
|
||||||
QUuid _parentID; // what is this thing's transform relative to?
|
QUuid _parentID; // what is this thing's transform relative to?
|
||||||
quint16 _parentJointIndex { 0 }; // which joint of the parent is this relative to?
|
quint16 _parentJointIndex { 0 }; // which joint of the parent is this relative to?
|
||||||
|
SpatiallyNestablePointer getParentPointer(bool& success) const;
|
||||||
|
|
||||||
mutable SpatiallyNestableWeakPointer _parent;
|
mutable SpatiallyNestableWeakPointer _parent;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue