| 90 | some minimums in order to play nicely with the whole system. |
| 91 | """ |
| 92 | def __init__(self, transform=None): |
| 93 | logger.debug('Initializing: {}'.format(self)) |
| 94 | self._transform = om2.MTransformationMatrix() if transform is None \ |
| 95 | else om2.MTransformationMatrix(transform) |
| 96 | self._preCallbacks = list() |
| 97 | self._postCallbacks = list() |
| 98 | self._parent = None |
| 99 | # `isDirty` sets whether or not the primitive needs to be updated |
| 100 | # before drawing. |
| 101 | self.isDirty = False |
| 102 | |
| 103 | # `transform` holds an OpenMaya 2.0 `MTransformationMatrix` object |
| 104 | # representing the transformation matrix of the primitive. Feel free to |