瀏覽代碼

fix ghost collision solids when loading bam files

David Rose 22 年之前
父節點
當前提交
d2dccc99d3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      panda/src/pgraph/pandaNode.cxx

+ 1 - 0
panda/src/pgraph/pandaNode.cxx

@@ -105,6 +105,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
   _state = DCAST(RenderState, p_list[pi++]);
   _effects = DCAST(RenderEffects, p_list[pi++]);
   _transform = DCAST(TransformState, p_list[pi++]);
+  _prev_transform = _transform;
 
   // Finalize these pointers now to decrement their artificially-held
   // reference counts.  We do this now, rather than later, in case