patch [#21740] Image support for Empty Objects
authorCampbell Barton <ideasman42@gmail.com>
Mon, 9 May 2011 16:31:54 +0000 (16:31 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 9 May 2011 16:31:54 +0000 (16:31 +0000)
commit885141c9dec9828172471b0e58dc4d975d250a04
tree4901c666de40a3159f107f9b985a94a1612777e2
parent1e0c3d315b8b5db4b5d594c05c7b1b92d5bf967a
patch [#21740] Image support for Empty Objects
from Andy Braham (andybraham)

This adds support for empties to reference images and draw in the 3D view.

Modifications from the original patch.
- use an empty draw 'image' type
- use image aspect ratio for non-square-pixels
- when the image is not found, still draw the frame.
release/scripts/startup/bl_ui/properties_data_empty.py
source/blender/editors/space_view3d/drawobject.c
source/blender/makesdna/DNA_object_types.h
source/blender/makesrna/intern/rna_object.c
source/blender/makesrna/intern/rna_ui_api.c