diff options
author | Robin Allen <roblovski@gmail.com> | 2009-08-18 23:58:27 +0400 |
---|---|---|
committer | Robin Allen <roblovski@gmail.com> | 2009-08-18 23:58:27 +0400 |
commit | c9795eae45c278460e27ae7f5937ca9bd1300531 (patch) | |
tree | 75bd82c4d4ce4dc6ac37899915635b9c576ce5b2 /source/blender/makesrna/intern/rna_ui_api.c | |
parent | 7d812822bd9c522efc0730a4f219ccec9cfb4a57 (diff) |
Fixed the texture preview to work with multi-output node-based textures.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_ui_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c index f9287bddc10..82694098e69 100644 --- a/source/blender/makesrna/intern/rna_ui_api.c +++ b/source/blender/makesrna/intern/rna_ui_api.c @@ -244,6 +244,7 @@ void RNA_api_ui_layout(StructRNA *srna) parm= RNA_def_pointer(func, "id", "ID", "", "ID datablock."); RNA_def_property_flag(parm, PROP_REQUIRED); parm= RNA_def_pointer(func, "parent", "ID", "", "ID datablock."); + parm= RNA_def_pointer(func, "slot", "TextureSlot", "", "Texture slot."); func= RNA_def_function(srna, "template_curve_mapping", "uiTemplateCurveMapping"); parm= RNA_def_pointer(func, "curvemap", "CurveMapping", "", "Curve mapping pointer."); |