Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-03-18 22:25:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-18 22:25:05 +0400
commit01e9dae3dc6c7de00e441a8b505debc6df830520 (patch)
tree917d578202f35f095c98506567a62c8240c803e6 /source/blender/makesrna/intern/rna_texture.c
parent57f69f2f180a988f274d979b1e5f2ad17e9cb77a (diff)
code cleanup
Diffstat (limited to 'source/blender/makesrna/intern/rna_texture.c')
-rw-r--r--source/blender/makesrna/intern/rna_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_texture.c b/source/blender/makesrna/intern/rna_texture.c
index 009823555f0..e8f812506e2 100644
--- a/source/blender/makesrna/intern/rna_texture.c
+++ b/source/blender/makesrna/intern/rna_texture.c
@@ -382,7 +382,7 @@ static void rna_Texture_use_color_ramp_set(PointerRNA *ptr, int value)
else tex->flag &= ~TEX_COLORBAND;
if ((tex->flag & TEX_COLORBAND) && tex->coba == NULL)
- tex->coba = add_colorband(0);
+ tex->coba = add_colorband(false);
}
static void rna_Texture_use_nodes_update(bContext *C, PointerRNA *ptr)