blender/release/scripts/modules/bpy
Campbell Barton 9dbe85c17e expose common extensions for image/movie/audio types, since python scripts had to do this internally.
- bpy.path.extensions_image
- bpy.path.extensions_movie
- bpy.path.extensions_audio

eg:

  if os.path.splitext(filename)[1].lower() in bpy.path.extensions_image:
      ... we have an image ...
2013-01-04 03:47:37 +00:00
..
__init__.py style cleanup 2012-06-19 22:17:19 +00:00
ops.py bpy.ops module/caller classes incorrectly had __keys__ rather then __slots__. 2012-12-06 03:09:06 +00:00
path.py expose common extensions for image/movie/audio types, since python scripts had to do this internally. 2013-01-04 03:47:37 +00:00
utils.py py api: add restrict state context manager (thats python's context not blenders context), 2012-12-20 03:56:22 +00:00