From 0b2a3f0c95f6a171a3fdc411c6265977e9248592 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 12 Jan 2015 21:52:09 +0100 Subject: [PATCH] Fix assertion trigger in PandaNode --- panda/src/pgraph/pandaNode.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/pgraph/pandaNode.cxx b/panda/src/pgraph/pandaNode.cxx index be783109fa..ac32a6c341 100644 --- a/panda/src/pgraph/pandaNode.cxx +++ b/panda/src/pgraph/pandaNode.cxx @@ -3788,8 +3788,8 @@ update_cached(bool update_bounds, int pipeline_stage, PandaNode::CDLockedStageRe UpdateSeq last_update = cdata->_last_update; UpdateSeq next_update = cdata->_next_update; UpdateSeq last_bounds_update = cdata->_last_bounds_update; - nassertr(last_bounds_update != next_update && - (!update_bounds || last_update != next_update), + nassertr(last_update != next_update || + (update_bounds && last_bounds_update != next_update), CDStageWriter(_cycler, pipeline_stage, cdata)); // Start with a clean slate.