Description

No matter if the value of a parameter you override in a Material Instance is the same as it's parent or not, it always shows the "reset to default" button. See static bool param in the images below:

[Image Removed]

[Image Removed]

In the rest of the Editor UI, the "reset to default" button only shows up when the value is not currently set to the default, so it can be confusing.

Would be easier to track down situations where you are unnecessarily overriding base material parameters (and thus duplicating shader code in the case of static switches, etc) if this reflected whether it was the default or not.

Steps to Reproduce

Create a material instance of a material w/parameters, check that edited parameters don't have a reset button unless they are different from the default value

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-20882 in the post.

0
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Materials
Affects Versions4.8.34.9
Target Fix4.17
Fix Commit3388808
Main Commit3432852
CreatedSep 9, 2015
ResolvedApr 11, 2017
UpdatedNov 2, 2021