From ea52930b833d62172e53d00ad6ef5980982fc3b3 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 2 May 2006 14:41:12 +0000 Subject: [PATCH] clear _cdata pointer --- panda/src/pgraph/pandaNode.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/pgraph/pandaNode.cxx b/panda/src/pgraph/pandaNode.cxx index cbf27713ce..02b75a80fe 100644 --- a/panda/src/pgraph/pandaNode.cxx +++ b/panda/src/pgraph/pandaNode.cxx @@ -3645,6 +3645,7 @@ check_bounds() const { // We'll need to get a fresh read pointer, since another thread // might already have modified the pointer on the object since we // queried it. + ((PandaNodePipelineReader *)this)->_cdata = NULL; int pipeline_stage = _current_thread->get_pipeline_stage(); PandaNode::CDLockedStageReader fresh_cdata(_object->_cycler, pipeline_stage, _current_thread); if (fresh_cdata->_last_update == fresh_cdata->_next_update) {