[Bf-blender-cvs] CVS commit: blender/release/scripts/bpymodules BPyImage.py
Campbell Barton
cbarton at metavr.com
Wed Feb 1 11:31:50 CET 2006
campbellbarton (Campbell Barton) 2006/02/01 11:31:50 CET
Added files:
blender/release/scripts/bpymodules BPyImage.py
Log:
Added a function for importers to use, comprehensive image loader takes an imagepath and a file path- and imports the image, if it exists it uses the one alredy loaded or does a realy good job of finding the right image case insensitite if the normal path is not found. looks in all the logical places for the image- If teh image isnt found then a new dummy image is returned.
The nice thing about this is you can request an image and you know youll get an image back- without doing your own error handeling.
More information about the Bf-blender-cvs
mailing list