trigger.actions.cleanup ======================= .. py:module:: trigger.actions.cleanup .. autoapi-nested-parse:: Cleanup Attributes ---------- .. autoapisummary:: trigger.actions.cleanup.ACTION_DATA trigger.actions.cleanup.log Classes ------- .. autoapisummary:: trigger.actions.cleanup.Cleanup Module Contents --------------- .. py:class:: Cleanup(**kwargs) Bases: :py:obj:`trigger.core.action.ActionCore` .. py:method:: action() Mandatory Method - Execute Action .. py:method:: clean_root() :staticmethod: .. py:method:: delete_animation_layers() :staticmethod: .. py:method:: delete_blind_data() :staticmethod: .. py:method:: delete_display_layers() :staticmethod: .. py:method:: delete_unknown_nodes() :staticmethod: .. py:method:: delete_unused_nodes() :staticmethod: .. py:method:: feed(action_data) Mandatory Method - Feeds the instance with the action data stored in actions session. .. py:method:: merge_similar_file_nodes() :staticmethod: Makes sure that there are no file nodes sharing the same file path .. py:method:: merge_similar_shaders() :staticmethod: .. py:method:: save_action(file_path=None, *args, **kwargs) Mandatory Method - Save Action .. py:method:: ui(ctrl, layout, handler) :staticmethod: Mandatory Method - UI setting definitions Args: ctrl: (model_ctrl) ctrl object instance of /ui/model_ctrl. Updates UI and Model layout: (QLayout) The layout object from the main ui. All setting widgets should be added to this layout handler: (actions_session) An instance of the actions_session. TRY NOT TO USE HANDLER UNLESS ABSOLUTELY NECESSARY Returns: None .. py:attribute:: action_data .. py:data:: ACTION_DATA .. py:data:: log