Godot_bridge/addon/common/addon.py

12 lines
199 B
Python
Raw Normal View History

2023-03-29 10:43:53 +00:00
import bpy
"""
Parameters & functions to get information from addon
"""
addon_name = __name__.partition('.')[0]
def get_prefs():
return bpy.context.preferences.addons[addon_name].preferences