Sfoglia il codice sorgente

fix ghost collision solids when loading bam files

David Rose 22 anni fa
parent
commit
d2dccc99d3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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