trigger.actions.cleanup

Cleanup

Attributes

ACTION_DATA

log

Classes

Cleanup

Module Contents

class Cleanup(**kwargs)

Bases: trigger.core.action.ActionCore

action()

Mandatory Method - Execute Action

static clean_root()
static delete_animation_layers()
static delete_blind_data()
static delete_display_layers()
static delete_unknown_nodes()
static delete_unused_nodes()
feed(action_data)

Mandatory Method - Feeds the instance with the action data stored in actions session.

static merge_similar_file_nodes()

Makes sure that there are no file nodes sharing the same file path

static merge_similar_shaders()
save_action(file_path=None, *args, **kwargs)

Mandatory Method - Save Action

static ui(ctrl, layout, handler)

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

action_data
ACTION_DATA
log