Files
goo-engine/source/blender/python/api2_2x/doc
Campbell Barton d73e312f88 Added Image.GetCurrent()
Previously the only way to get the current image was flaky and relyd on the image being assigned to a mesh.

try:
  me = Scene.GetCurrent().getAttiveObject().getData(mesh=1)
  image = me.faces[me.activeFace].image
except:
  image = None

...Can new be replaced by the following, and works even when there is no mesh.
image = Image.GetCurrent()

epydocs:
  Get the currently displayed Image from Blenders UV/Image window.
  When multiple images are displayed, the last active UV/Image windows image is used.
2005-12-13 00:00:11 +00:00
..
2005-12-12 20:12:50 +00:00
2005-12-12 20:12:50 +00:00
2005-06-15 06:22:26 +00:00
2005-11-15 21:14:24 +00:00
2005-10-03 19:12:11 +00:00
2005-06-15 06:22:26 +00:00
2005-12-13 00:00:11 +00:00
2005-09-09 01:31:10 +00:00
2005-11-15 21:14:24 +00:00
2005-04-21 19:44:52 +00:00
2005-11-15 21:14:24 +00:00
2005-06-15 06:22:26 +00:00
2005-11-26 02:10:42 +00:00
2005-10-19 21:24:18 +00:00
2005-06-15 06:22:26 +00:00