Merging r41564 through r41596 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / interface / interface_widgets.c
index ed018830a0a059d683a146b9975b5ec2a262be2a..7a138e72891af4c4056370404b14000fc4206fe0 100644 (file)
@@ -3078,6 +3078,10 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct
                                wt= widget_type(UI_WTYPE_SCROLL);
                                break;
 
+                       case TRACKPREVIEW:
+                               ui_draw_but_TRACKPREVIEW(ar, but, &tui->wcol_regular, rect);
+                               break;
+
                        default:
                                wt= widget_type(UI_WTYPE_REGULAR);
                }