**System Information**
Operating system: Windows-10
**Blender Version**
Broken: version: 2.82 (sub 1), branch: master, commit date: 2019-11-09 02:09, hash: `rB6f1237b2ebda`
**Short description of error**
Sample color selection in texture paint mode select colors based on View Transform under colour management. (Colour is selected based on the colour management mode instead of actual texture color)
**Exact steps for others to reproduce the error**
Create a plane for texture painting & UV unwrap it
Add "Image texture" to the material.
Select "Filmic" from View Transform under Color management.
Change Viewport Shading to Material Preview (To ensure that the colors are not affected by the environment HDR, I changed the HDR file to a simple flat white HDR file. File is attached herewith)
{F8005050}
Install and switch to the new "Flat HDRI.exr" for Material Preview.
In Texture Paint mode, select any color from color picker and paint on the texture.
Use "S" key for selecting the "Sample Color" option
Select the color now we painted from the plane. Check the "sample merge" option from the "Sample Color" menu that appears at the bottom left side of the viewport.
The color selected is different from the actual color on the plane. To view this error, paint with the newly selected color near the actual color that was painted before.
Both actual color & sampled color will be different, most notably for the "value" part.
------------------------------------------------------------------------------------------------
Above said is the case with "Filmic" Color management
If we try the same steps with view transform "Standard" under Color Management, the actual color & sampled color remains the same.
------------------------------------------------------------------------------------------------
The color sample tool selects the color, taking into account the color management profile too (that is, from the viewport) ; instead of directly sampling it from the actual texture.
------------------------------------------------------------------------------------------------
Issue screenshots below:
Actual Color vs Sample Color in "Filmic Color" Management
{F8005339} {F8005353}
Actual Color vs Sample Color in "Standard" Color Management
{F8005364}
--------------------------------------------------------------------------------------------
Blender File is attached herewith (textures are packed in the .blend file.) ; Switch Scene settings to view difference between "Filmic" & "Standard"
{F8005435}
{F8005439}