Godot_bridge/addon/common/addon.py
2023-03-29 12:43:53 +02:00

11 lines
199 B
Python

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