Selaa lähdekoodia

fix ghost collision solids when loading bam files

David Rose 22 vuotta sitten
vanhempi
sitoutus
d2dccc99d3
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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++]);
   _state = DCAST(RenderState, p_list[pi++]);
   _effects = DCAST(RenderEffects, p_list[pi++]);
   _effects = DCAST(RenderEffects, p_list[pi++]);
   _transform = DCAST(TransformState, p_list[pi++]);
   _transform = DCAST(TransformState, p_list[pi++]);
+  _prev_transform = _transform;
 
 
   // Finalize these pointers now to decrement their artificially-held
   // Finalize these pointers now to decrement their artificially-held
   // reference counts.  We do this now, rather than later, in case
   // reference counts.  We do this now, rather than later, in case