def disableDynamicStates(self): GLObject.disableDynamicStates(self) for l in self.lights: l.disableDynamicStates()