Merged changes in the trunk up to revision 34193.
[blender.git] / source / blender / makesrna / intern / rna_action.c
index 5077db345dcac0b98f8a3d110e7ac1d122ac8efc..09b9960deae256730afcc76f74850ba19fbb54b8 100644 (file)
@@ -235,6 +235,12 @@ static void rna_def_dopesheet(BlenderRNA *brna)
        RNA_def_property_ui_icon(prop, ICON_MESH_DATA, 0);
        RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN|NA_EDITED, NULL);
        
+       prop= RNA_def_property(srna, "show_lattices", PROP_BOOLEAN, PROP_NONE);
+       RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOLAT);
+       RNA_def_property_ui_text(prop, "Display Lattices", "Include visualization of Lattice related Animation data");
+       RNA_def_property_ui_icon(prop, ICON_LATTICE_DATA, 0);
+       RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN|NA_EDITED, NULL);
+       
        prop= RNA_def_property(srna, "show_cameras", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOCAM);
        RNA_def_property_ui_text(prop, "Display Camera", "Include visualization of Camera related Animation data");