2.5: Texture buttons preview now has an option to display the

texture, the material, or both side by side.
This commit is contained in:
2009-07-21 01:57:46 +00:00
parent 6dfec894f9
commit 22f421a9ee
11 changed files with 158 additions and 63 deletions

View File

@@ -242,6 +242,7 @@ void RNA_api_ui_layout(StructRNA *srna)
func= RNA_def_function(srna, "template_preview", "uiTemplatePreview");
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.");
func= RNA_def_function(srna, "template_curve_mapping", "uiTemplateCurveMapping");
parm= RNA_def_pointer(func, "curvemap", "CurveMapping", "", "Curve mapping pointer.");