Parcourir la source

Oops, typo fix

rdb il y a 10 ans
Parent
commit
1ee8c5f6d2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      panda/src/display/graphicsStateGuardian.cxx

+ 1 - 1
panda/src/display/graphicsStateGuardian.cxx

@@ -817,7 +817,7 @@ PT(GeomMunger) GraphicsStateGuardian::
 get_geom_munger(const RenderState *state, Thread *current_thread) {
 get_geom_munger(const RenderState *state, Thread *current_thread) {
   RenderState::Mungers &mungers = state->_mungers;
   RenderState::Mungers &mungers = state->_mungers;
 
 
-  if (mungers.is_empty()) {
+  if (!mungers.is_empty()) {
     // Before we even look up the map, see if the _last_mi value points
     // Before we even look up the map, see if the _last_mi value points
     // to this GSG.  This is likely because we tend to visit the same
     // to this GSG.  This is likely because we tend to visit the same
     // state multiple times during a frame.  Also, this might well be
     // state multiple times during a frame.  Also, this might well be