def check_missing_data_material(props): autothumb.update_upload_material_preview(None, None) if not props.has_thumbnail: write_to_report(props, 'Add thumbnail:') props.report += props.thumbnail_generating_state if props.engine == 'NONE': write_to_report(props, 'Set rendering/output engine')
def get_missing_data_material(props): props.report = '' autothumb.update_upload_material_preview(None, None) if props.name == '': write_to_report(props, 'Set material name') if props.tags == '': write_to_report(props, 'Write at least 3 tags') if not props.has_thumbnail: write_to_report(props, 'Add thumbnail:') props.report += props.thumbnail_generating_state if props.engine == 'NONE': write_to_report(props, 'Set rendering/output engine')