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:
authorAntony Riakiotakis <kalast@gmail.com>2014-07-24 14:08:23 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-07-24 14:08:23 +0400
commita93ec34ac836184cb660c620b1bddde54e240afb (patch)
treee774aa4d11786b41f0623354ef5ff62f21686259 /source/blender/editors
parent029be6f4b58f9af01dda9e8974a6d1a275ef5c4a (diff)
Fix minor issues from recent commits.
* Clone from layer UI not working * Get trash color when entering texture painting for the first time
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index 8dfab793734..6c41c8efa55 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -4849,7 +4849,7 @@ bool proj_paint_add_slot(bContext *C, Material *ma, wmOperator *op)
mtex->mapto = type;
if (mtex->tex) {
- float color[4];
+ float color[4] = {0.0f, 0.0f, 0.0f, 1.0f};
char imagename[MAX_ID_NAME - 2] = "Material Diffuse Color";
int width = 1024;
int height = 1024;