diff options
Diffstat (limited to 'source/blender/editors/interface/interface_ops.c')
-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) { |