mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix assertion trigger in PandaNode
This commit is contained in:
parent
763727fbb1
commit
0b2a3f0c95
@ -3788,8 +3788,8 @@ update_cached(bool update_bounds, int pipeline_stage, PandaNode::CDLockedStageRe
|
|||||||
UpdateSeq last_update = cdata->_last_update;
|
UpdateSeq last_update = cdata->_last_update;
|
||||||
UpdateSeq next_update = cdata->_next_update;
|
UpdateSeq next_update = cdata->_next_update;
|
||||||
UpdateSeq last_bounds_update = cdata->_last_bounds_update;
|
UpdateSeq last_bounds_update = cdata->_last_bounds_update;
|
||||||
nassertr(last_bounds_update != next_update &&
|
nassertr(last_update != next_update ||
|
||||||
(!update_bounds || last_update != next_update),
|
(update_bounds && last_bounds_update != next_update),
|
||||||
CDStageWriter(_cycler, pipeline_stage, cdata));
|
CDStageWriter(_cycler, pipeline_stage, cdata));
|
||||||
|
|
||||||
// Start with a clean slate.
|
// Start with a clean slate.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user