Merging r39050 through r39101 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / interface / interface_widgets.c
index d235fd0c16a4b51157ea60f255f23f80844a0bfc..214cdb9ac21733c4f81f085ece342775e7c39be9 100644 (file)
@@ -3048,6 +3048,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);
                }