Browse Source

don't enable smoothing after node is disabled

Greg Wiatroski 22 years ago
parent
commit
8e6fc1d0ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/distributed/DistributedSmoothNode.py

+ 1 - 1
direct/src/distributed/DistributedSmoothNode.py

@@ -110,7 +110,7 @@ class DistributedSmoothNode(DistributedNode.DistributedNode):
         running, you won't be able to lerp the node or directly
         running, you won't be able to lerp the node or directly
         position it.
         position it.
         """
         """
-        if not self.wantsSmoothing() or self.isLocal():
+        if not self.wantsSmoothing() or self.isLocal() or self.isDisabled():
             return
             return
         if not self.smoothStarted:
         if not self.smoothStarted:
             taskName = self.taskName("smooth")
             taskName = self.taskName("smooth")