diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-04 03:16:51 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-04 03:16:51 +0400 |
commit | a8f69a7f5cf59943b244126f428d1c12ca7e61af (patch) | |
tree | 349634e827419f180511f711e9da94775cdf0a1b /source/blender/makesrna/intern/rna_lattice.c | |
parent | 34014df367d61bca0223eee25a9aa7b2c5a0e232 (diff) |
UI/RNA:
* Added an icon entry to RNA structs, instead of the UI_GetIconRNA
function, to keep code together a bit more and make the lookup
faster.
Diffstat (limited to 'source/blender/makesrna/intern/rna_lattice.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_lattice.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_lattice.c b/source/blender/makesrna/intern/rna_lattice.c index ca77d3b519f..26c4ebb7b23 100644 --- a/source/blender/makesrna/intern/rna_lattice.c +++ b/source/blender/makesrna/intern/rna_lattice.c @@ -117,6 +117,7 @@ static void rna_def_lattice(BlenderRNA *brna) srna= RNA_def_struct(brna, "Lattice", "ID"); RNA_def_struct_ui_text(srna, "Lattice", "Lattice datablock defining a grid for deforming other objects."); + RNA_def_struct_ui_icon(srna, ICON_LATTICE_DATA); prop= RNA_def_property(srna, "points_u", PROP_INT, PROP_NONE); RNA_def_property_int_sdna(prop, NULL, "pntsu"); |