Godot_bridge/addon/parameters/sidecar.py

22 lines
466 B
Python
Raw Permalink Normal View History

2024-05-18 11:09:47 +00:00
import os
import bpy
class GB_sidecar(bpy.types.Operator):
"""
Handling of sidecar file
"""
bl_idname = "gb.sidecar"
bl_label = "Sidecar file handling for Godot bridge"
bl_options = {'REGISTER', 'UNDO'}
def invoke(self, context, event):
return self.execute(context)
def execute(self, context):
return {"FINISHED"}
def read(filename):
print("filename: {}".format(filename))
return {"FINISHED"}