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_curve.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_curve.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_curve.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index bdc33715145..c0b75c3c65f 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -459,6 +459,7 @@ void rna_def_curve(BlenderRNA *brna) srna= RNA_def_struct(brna, "Curve", "ID"); RNA_def_struct_ui_text(srna, "Curve", "Curve datablock storing curves, splines and NURBS."); + RNA_def_struct_ui_icon(srna, ICON_CURVE_DATA); rna_def_animdata_common(srna); rna_def_texmat_common(srna, "rna_Curve_texspace_editable"); |