mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
return concrete NodePath objects instead of references
This commit is contained in:
parent
029a19b435
commit
a76f4015c6
@ -104,7 +104,7 @@ get_into_node() const {
|
||||
// that has been added to a CollisionTraverser via
|
||||
// add_collider().
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE const NodePath &CollisionEntry::
|
||||
INLINE NodePath CollisionEntry::
|
||||
get_from_node_path() const {
|
||||
return _from_node_path;
|
||||
}
|
||||
@ -120,7 +120,7 @@ get_from_node_path() const {
|
||||
// resolve the particular instance of the node, if there
|
||||
// is more than one.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE const NodePath &CollisionEntry::
|
||||
INLINE NodePath CollisionEntry::
|
||||
get_into_node_path() const {
|
||||
return _into_node_path;
|
||||
}
|
||||
|
@ -60,8 +60,8 @@ PUBLISHED:
|
||||
|
||||
INLINE CollisionNode *get_from_node() const;
|
||||
INLINE PandaNode *get_into_node() const;
|
||||
INLINE const NodePath &get_from_node_path() const;
|
||||
INLINE const NodePath &get_into_node_path() const;
|
||||
INLINE NodePath get_from_node_path() const;
|
||||
INLINE NodePath get_into_node_path() const;
|
||||
|
||||
INLINE bool get_respect_prev_transform() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user