def _actor_changed(self, old, new):
        new.scene = self.scene
        #new.inputs = [self]
        g = self.glyph
        if g == None:
            new.inputs = [g]
        self._change_components(old, new)
dataset/ETHPy150Open enthought/mayavi/mayavi/modules/tensor_glyph.py/TensorGlyph._actor_changed/operator `is not` -> `==`