diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-21 03:25:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-21 03:25:52 +0300 |
commit | 03acdd75e0c75b78bdf5c2c23bcf6c8cf40cb459 (patch) | |
tree | f67edcc182d305b9dd776c38236c27ee13dd5763 /source/blender/makesrna/intern | |
parent | 42a0ef4dcfca7934329cd3c0b911f9d895582efc (diff) |
[#21660] improved UV test grid
from shuvro sarker (shuvro)
Added text to the patch and made other minor tweaks.
moved image generation functions into their own file.
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 1657ad00cdd..fdd79781d79 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -278,7 +278,8 @@ static void rna_def_image(BlenderRNA *brna) {0, NULL, 0, NULL, NULL}}; static const EnumPropertyItem prop_generated_type_items[]= { {0, "BLANK", 0, "Blank", "Generate a blank image"}, - {1, "UVGRID", 0, "UV Grid", "Generated grid to test UV mappings"}, + {1, "UV_GRID", 0, "UV Grid", "Generated grid to test UV mappings"}, + {2, "COLOR_GRID", 0, "Color Grid", "Generated improved UV grid to test UV mappings"}, {0, NULL, 0, NULL, NULL}}; static const EnumPropertyItem prop_mapping_items[]= { {0, "UV", 0, "UV Coordinates", "Use UV coordinates for mapping the image"}, |