diff options
author | Thomas Dinges <blender@dingto.org> | 2010-01-07 14:01:12 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2010-01-07 14:01:12 +0300 |
commit | 3d8b5860d9e24a22d44d5dc464eb2a534868f6a5 (patch) | |
tree | 8965b830de8b8d225fd25bbe726a78b95d503300 /source/blender/editors/interface | |
parent | 26fcb7f9d2a7c3446490642b970c570e1aa425ee (diff) |
Fix for Color Picker Eyedropper crash. Thx Matt :)
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c index c66dd998fd4..f80f676417b 100644 --- a/source/blender/editors/interface/interface_ops.c +++ b/source/blender/editors/interface/interface_ops.c @@ -97,7 +97,7 @@ static void eyedropper_sample(Eyedropper *eye, short mx, short my) float col[3]; glReadBuffer(GL_FRONT); - glReadPixels(mx, my, 1, 1, GL_RGBA, GL_FLOAT, col); + glReadPixels(mx, my, 1, 1, GL_RGB, GL_FLOAT, col); glReadBuffer(GL_BACK); if(RNA_property_type(eye->prop) == PROP_FLOAT) { |