INNER CODE UNIT · Python
execute
bernhardstrobl/Pico3D · Blender/pico3d_blender_exporter.py:70
def execute(self, context): # execute() is called when running the operator.
# The original script
scene = context.scene
export_single = context.scene.export_single_model
#if there is no path yet, ask user to fill in path
file_path = context.scene.file_path
if (file_path == ''):
print('No file path specified, dumping output to console:\n')
file_output = ''
self.textures = []