Page MenuHome

Fix T92113: On assets, replace "Fake User" button with "Clear Asset" button.
ClosedPublic

Authored by Bastien Montagne (mont29) on Oct 12 2021, 5:20 PM.

Details

Summary

Change is simple enough, but we abuse a bit the UI code here to get a
similar 'look' as the fake user button for the new Asset one, while
still being able to call an operator instead of editing directly a RNA
value.

Diff Detail

Repository
rB Blender

Event Timeline

Bastien Montagne (mont29) requested review of this revision.Oct 12 2021, 5:20 PM
Bastien Montagne (mont29) created this revision.

LGTM! I'll leave the final verdict to Julian, as he's in the UI module.

Julian Eisel (Severin) accepted this revision.EditedOct 12 2021, 5:57 PM

This is quite nice I think. Think the little bit of hackiness in the code is fine, esp since this is a temporary solution until fake user isn't needed anymore (at least not as-is).

Looks like this:

This revision is now accepted and ready to land.Oct 12 2021, 5:57 PM