from .. import part


class FREIGHTER_CORE(part.Part):
    def __init__(self, bpy_object=None, *args, **kwargs):
        super(FREIGHTER_CORE, self).__init__(bpy_object=bpy_object, *args, **kwargs)

        # Lock all channels.
        if not bpy_object:
            self.object.lock_location = [True, True, True]
            self.object.lock_rotation = [True, True, True]
            self.object.lock_scale = [True, True, True]
