diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index b44bdfc2201..fe4d69b910f 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -3753,10 +3753,10 @@ static void rna_def_bake_data(BlenderRNA *brna) RNA_def_struct_ui_text(srna, "Bake Data", "Bake data for a Scene data-block"); RNA_def_struct_path_func(srna, "rna_BakeSettings_path"); - prop = RNA_def_property(srna, "cage_object", PROP_STRING, PROP_NONE); - RNA_def_property_string_sdna(prop, NULL, "cage"); + prop = RNA_def_property(srna, "cage_object", PROP_POINTER, PROP_NONE); 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_flag(prop, PROP_EDITABLE); RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL); prop = RNA_def_property(srna, "filepath", PROP_STRING, PROP_FILEPATH); |