Godot_bridge/addon/operators/export2godot.py

15 lines
352 B
Python
Raw Normal View History

import bpy
class KH_OP_export2godot(bpy.types.Operator):
"""Export collections to Godot throught glTF"""
bl_idname = "kh.export2godot"
bl_label = "Export to gltf"
bl_options = {'REGISTER', 'UNDO'}
def invoke(self, context, event):
return self.execute(context)
def execute(self, context):
print("TOTOR IS NOT HERE")
return {"FINISHED"}