Page MenuHome

Fix unreported(UI): invert_checkbox don't work with custom icon
ClosedPublic

Authored by Valentin (Poulpator) on Mar 5 2020, 2:20 AM.

Details

Summary

The invert_checkbox parameter was not working if used along an icon (override in python or not)

Exemple code:

props = context.scene.eevee
col.prop(props, "use_taa_reprojection")     #default for reference

col.prop(props, "use_taa_reprojection", icon='NONE', invert_checkbox=True)             #work
col.prop(props, "use_taa_reprojection", icon='RENDER_STILL', invert_checkbox=True)     #don't work

Shown as before/after fix:

Diff Detail

Repository
rB Blender

Event Timeline

Thanks. Don't see why not to fix this.

This revision is now accepted and ready to land.Mar 5 2020, 3:56 PM