diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-25 14:03:56 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-25 14:04:24 +0300 |
commit | 5b3ff9f7d890554ae87e63095f24ac6d31a36d3c (patch) | |
tree | 34ce6928414d5902be3692aafdf3f436187f16d5 /source/blender/blenkernel/BKE_mesh_runtime.h | |
parent | e10eb5bcb8c08bb451492c42d18de7359bc026df (diff) |
Cleanup: Move colorband handling from DM to mesh_runtime universe.
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_runtime.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh_runtime.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_runtime.h b/source/blender/blenkernel/BKE_mesh_runtime.h index 455ca088d20..f894f72e648 100644 --- a/source/blender/blenkernel/BKE_mesh_runtime.h +++ b/source/blender/blenkernel/BKE_mesh_runtime.h @@ -35,6 +35,7 @@ #include "BKE_customdata.h" /* for CustomDataMask */ +struct ColorBand; struct CustomData; struct Depsgraph; struct KeyBlock; @@ -86,6 +87,10 @@ struct Mesh *mesh_get_eval_deform( void BKE_mesh_runtime_eval_to_meshkey(struct Mesh *me_deformed, struct Mesh *me, struct KeyBlock *kb); +/* Temporary? A function to give a colorband to derivedmesh for vertexcolor ranges */ +void BKE_mesh_runtime_color_band_store(const struct ColorBand *coba, const char alert_color[4]); + + #ifndef NDEBUG char *BKE_mesh_runtime_debug_info(struct Mesh *me_eval); void BKE_mesh_runtime_debug_print(struct Mesh *me_eval); |