11 lines
199 B
Python
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
|