mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
fix refcount bug when reading bams
This commit is contained in:
parent
ff04381a1d
commit
54f300f612
@ -123,7 +123,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
|
|||||||
// Get the parent pointers.
|
// Get the parent pointers.
|
||||||
Up::iterator ui;
|
Up::iterator ui;
|
||||||
for (ui = _up.begin(); ui != _up.end(); ++ui) {
|
for (ui = _up.begin(); ui != _up.end(); ++ui) {
|
||||||
PT(PandaNode) parent_node = DCAST(PandaNode, p_list[pi++]);
|
PandaNode *parent_node = DCAST(PandaNode, p_list[pi++]);
|
||||||
|
|
||||||
// For some reason, VC++ won't accept UpConnection as an inline
|
// For some reason, VC++ won't accept UpConnection as an inline
|
||||||
// temporary constructor here ("C2226: unexpected type
|
// temporary constructor here ("C2226: unexpected type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user