preferences.py 355 B

123456789101112
  1. # Code licensed under the BSD License.
  2. # http://www.anki3d.org/LICENSEimport os
  3. # keep methods in alphabetical order
  4. bl_info = {"author": "A. A. Kalugin Jr."}
  5. def get_anki_exporter_preferences(context):
  6. """
  7. Gets the scene preferences.
  8. """
  9. user_preferences = context.user_preferences
  10. return user_preferences.addons['anki_scene_exporter'].preferences