def create_nodes(define_path=None, define_type=None): """ Create new shading node by selecting texture files :param define_path: (string) default folder path :param define_type: (string) default texture node type """ from mttFilterFileDialog import create_nodes create_nodes(define_path=define_path, define_type=define_type)
def on_create_node(): mttFilterFileDialog.create_nodes()