Browse Source

Fixed logic error in drawInFront

Greg Wiatroski 21 năm trước cách đây
mục cha
commit
17ed6fc29a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      direct/src/actor/Actor.py

+ 1 - 1
direct/src/actor/Actor.py

@@ -814,7 +814,7 @@ class Actor(PandaObject, NodePath):
         not extend beyond backPart, and that backPart is mostly flat
         not extend beyond backPart, and that backPart is mostly flat
         (not self-occluding).
         (not self-occluding).
 
 
-        If mode >= 0, the frontPart geometry is placed in the 'fixed'
+        If mode > 0, the frontPart geometry is placed in the 'fixed'
         bin, with the indicated drawing order.  This will cause it to
         bin, with the indicated drawing order.  This will cause it to
         be drawn after almost all other geometry.  In this case, the
         be drawn after almost all other geometry.  In this case, the
         backPartName is actually unused.
         backPartName is actually unused.