Page MenuHome

Cycles: Fix viewport rendering when displaying as byte and not half float

Authored by Patrick Mours (pmoursnv) on Fri, Jan 10, 3:06 PM.



Commit rB7e61e597253f3ca75f2fb86a57212ca750ffbbe8 broke viewport rendering when not displaying as halfs. This is because it was forgotten to actually use the scale parameter that is passed into film_map. This fixes that, and also de-duplicates code around it.

Bug can be reproduced by building Blender without WITH_OPENCOLORIO, which switches viewport rendering to bytes.

Diff Detail

rB Blender