Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / BKE_curve.h
index 635e999dd9585a524a14be65383c5761a55c19d1..5a65646efe024d570d14a96bb60fc4c1c8fa20f2 100644 (file)
@@ -220,4 +220,12 @@ void BKE_curve_eval_geometry(struct EvaluationContext *eval_ctx,
 void BKE_curve_eval_path(struct EvaluationContext *eval_ctx,
                          struct Curve *curve);
 
+/* Draw Cache */
+enum {
+       BKE_CURVE_BATCH_DIRTY_ALL = 0,
+       BKE_CURVE_BATCH_DIRTY_SELECT,
+};
+void BKE_curve_batch_cache_dirty(struct Curve *cu, int mode);
+void BKE_curve_batch_cache_free(struct Curve *cu);
+
 #endif  /* __BKE_CURVE_H__ */