From aed67dc8a43fe12f4b47a24fb0c23be798ae05b9 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Wed, 11 Jun 2014 22:46:35 -0300 Subject: Bake-API: Set Custom Cage to be Cage Object Suggestion by Andy Davies (metalliandy) to conform with industry standard (custom cage is something else apparently) Note: this is the last bake related commit I plan for 2.71/rc (unless everyone agrees that we could squeeze in D546 - custom UVs, which would be really nice to add for 2.71 scripters) Note 2: I'll update the wiki docs shortly --- source/blender/makesrna/intern/rna_scene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/intern/rna_scene.c') diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 92c4d3dd204..bcdb469dd85 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -3218,9 +3218,9 @@ static void rna_def_bake_data(BlenderRNA *brna) RNA_def_struct_nested(brna, srna, "RenderSettings"); RNA_def_struct_ui_text(srna, "Bake Data", "Bake data for a Scene datablock"); - prop = RNA_def_property(srna, "custom_cage", PROP_STRING, PROP_NONE); + prop = RNA_def_property(srna, "cage_object", PROP_STRING, PROP_NONE); RNA_def_property_string_sdna(prop, NULL, "cage"); - RNA_def_property_ui_text(prop, "Custom Cage", "Object to use as cage " + RNA_def_property_ui_text(prop, "Cage Object", "Object to use as cage " "instead of calculating the cage from the active object with cage extrusion"); RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL); -- cgit v1.2.3