Blender Git Loki
Git Commits -> Revision c8ff92d
Revision c8ff92d by Campbell Barton (master) February 1, 2006, 10:31 (GMT) |
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. |
Commit Details:
Full Hash: c8ff92d965e9469b1a5c3ce1eadfb7d1ffcfc6dc
SVN Revision: 6628
Parent Commit: bee859f
Lines Changed: +256, -0
1 Added Path:
/release/scripts/bpymodules/BPyImage.py (+256, -0) (View)