diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-12-05 18:48:49 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-12-05 18:48:49 +0300 |
commit | b3c1e458b43d4014bc720c7eb20af5e02f6f5ab5 (patch) | |
tree | eea106767a5f83798af9cd4054f682799a4b6dd7 /source/blender/src/buttons_shading.c | |
parent | 29d87d64caac51fc900825063421a35ac9a7c7ae (diff) |
Particles
=========
- Added texture control for child particle roughness.
- Fix some use of uninitialized variables in particle texture code.
Diffstat (limited to 'source/blender/src/buttons_shading.c')
-rw-r--r-- | source/blender/src/buttons_shading.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index 8bc165702fc..ff491b43370 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -3164,7 +3164,7 @@ static void material_panel_map_to(Object *ob, Material *ma, int from_nodes) but=uiDefButBitS(block, TOG3, MAP_PA_DENS, B_MAT_PARTICLE, "Dens", 130,180,60,19, &(mtex->pmapto), 0, 0, 0, 0, "Causes the texture to affect the density of particles"); //uiButSetFunc(but, particle_recalc_material, ma, NULL); uiDefButBitS(block, TOG3, MAP_PA_IVEL, B_MAT_PARTICLE, "IVel", 190,180,60,19, &(mtex->pmapto), 0, 0, 0, 0, "Causes the texture to affect the initial velocity of particles"); - uiDefButBitS(block, TOG3, MAP_PA_PVEL, B_MAT_PARTICLE, "PVel", 250,180,60,19, &(mtex->pmapto), 0, 0, 0, 0, "Causes the texture to affect the velocity of particles"); + uiDefButBitS(block, TOG3, MAP_PA_ROUGH, B_MAT_PARTICLE, "Rough", 250,180,60,19, &(mtex->pmapto), 0, 0, 0, 0, "Causes the texture to affect the roughness of child particles"); but=uiDefButBitS(block, TOG3, MAP_PA_SIZE, B_MAT_PARTICLE, "Size", 10,160,60,19, &(mtex->pmapto), 0, 0, 0, 0, "Causes the texture to affect the size of particles"); //uiButSetFunc(but, particle_recalc_material, ma, NULL); |