Page MenuHome

Fix T59424: Color wheel snaps to center: loosing hue if light value is down to zero.
ClosedPublic

Authored by Sebastian Parborg (zeddb) on Dec 17 2018, 6:50 PM.

Details

Summary

It seems like the original code tried to prevent this (h,s values getting set to zero with low v values), but because of floats, v never became exactly zero or less.

During my tests it seems like the change in s value happened when v took on a value of 4.86969043e-09
I've tested this by putting in values in the UI color wheel. It seems to work fine now.

Diff Detail

Repository
rB Blender

Event Timeline

This revision is now accepted and ready to land.Dec 17 2018, 7:16 PM
This revision was automatically updated to reflect the committed changes.