diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-28 20:31:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-28 20:31:11 +0300 |
commit | 6f4a26c9e0e078f3d801f425de70853ea4ee7536 (patch) | |
tree | d308b5afee3b6b30ac082a78009e2d9ff14e1e04 /source/blender/blenkernel/BKE_material.h | |
parent | 883518d78295c05e93af3a2866e0f2eafae5fb15 (diff) |
material copy/paste
not enough room for the buttons so adding a menu, icon is ugly probably needs a new icon?.
Diffstat (limited to 'source/blender/blenkernel/BKE_material.h')
-rw-r--r-- | source/blender/blenkernel/BKE_material.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_material.h b/source/blender/blenkernel/BKE_material.h index 3ea7cae2c86..c8cbf21a093 100644 --- a/source/blender/blenkernel/BKE_material.h +++ b/source/blender/blenkernel/BKE_material.h @@ -77,6 +77,12 @@ int material_in_material(struct Material *parmat, struct Material *mat); void ramp_blend(int type, float *r, float *g, float *b, float fac, float *col); +/* copy/paste */ +void clear_matcopybuf(void); +void free_matcopybuf(void); +void copy_matcopybuf(struct Material *ma); +void paste_matcopybuf(struct Material *ma); + #ifdef __cplusplus } #endif |