diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-09-14 17:35:28 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-09-14 17:35:28 -0400 |
commit | ec0804a5f722d2cd9ef74eed96723a78d1cf4341 (patch) | |
tree | 5d103fe842753867e1d5305467416b50b309c056 /indra/newview/app_settings/shaders/class1/avatar | |
parent | 1d58d69d1e0bf5bf7f686d3764362b90fd79bfa7 (diff) | |
parent | 6b2c1d5f104047af8aa71d01b7d8fbe9a0ad3493 (diff) |
merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/avatar')
-rwxr-xr-x | indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl index 6cd38d8ef5..3060307b21 100755 --- a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl +++ b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl @@ -37,8 +37,7 @@ mat4 getObjectSkinnedTransform() index = min(index, vec4(51.0)); index = max(index, vec4( 0.0)); - float scale = 1.0/(w.x+w.y+w.z+w.w); - w *= scale; + w *= 1.0/(w.x+w.y+w.z+w.w); int i1 = int(index.x); int i2 = int(index.y); |