15 lines
352 B
Python
15 lines
352 B
Python
|
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"}
|