GPUBatch: Change preset managment system.

Now use a list of preset batches with a function to add new ones to this
list.

This removes the need of new functions all over the place to reset/exit.
This commit is contained in:
2018-04-05 15:36:38 +02:00
parent d48597eb54
commit cadef79a52
4 changed files with 41 additions and 43 deletions

View File

@@ -1168,8 +1168,4 @@ void UI_tooltip_free(struct bContext *C, struct bScreen *sc, struct ARegion *ar)
int UI_calc_float_precision(int prec, double value);
/* UI Batches managment */
void UI_widget_batch_preset_reset(void);
void UI_widget_batch_preset_exit(void);
#endif /* __UI_INTERFACE_H__ */