diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-12 17:12:45 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-12 17:12:45 +0400 |
commit | f1a0df22df7b929601db58db5ecb77ed82bf8361 (patch) | |
tree | 106260cd3e3753debf685a0434078a3a3f1cf238 /source/blender/blenkernel/BKE_texture.h | |
parent | e36003e8e73e42e7b559d4cec19b9004d14fefa6 (diff) |
Bugfix: texture nodes header was still showing wrong texture
when using node materials.
Diffstat (limited to 'source/blender/blenkernel/BKE_texture.h')
-rw-r--r-- | source/blender/blenkernel/BKE_texture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_texture.h b/source/blender/blenkernel/BKE_texture.h index 407dc94adfa..c7a6e20cc8b 100644 --- a/source/blender/blenkernel/BKE_texture.h +++ b/source/blender/blenkernel/BKE_texture.h @@ -75,6 +75,11 @@ struct Tex *give_current_lamp_texture(struct Lamp *la); struct Tex *give_current_world_texture(struct World *world); struct Tex *give_current_brush_texture(struct Brush *br); +void set_current_brush_texture(struct Brush *br, struct Tex *tex); +void set_current_world_texture(struct World *wo, struct Tex *tex); +void set_current_material_texture(struct Material *ma, struct Tex *tex); +void set_current_lamp_texture(struct Lamp *la, struct Tex *tex); + struct TexMapping *add_mapping(void); void init_mapping(struct TexMapping *texmap); |