Refactor material instance to not override all public parameters by default (need explicit set)
#3444
This commit is contained in:
@@ -90,9 +90,11 @@ void MaterialInstance::OnBaseParamsChanged()
|
||||
// Get the newest parameters
|
||||
baseParams->Clone(Params);
|
||||
|
||||
#if 0
|
||||
// Override all public parameters by default
|
||||
for (auto& param : Params)
|
||||
param.SetIsOverride(param.IsPublic());
|
||||
#endif
|
||||
|
||||
// Copy previous parameters values
|
||||
for (int32 i = 0; i < oldParams.Count(); i++)
|
||||
|
||||
Reference in New Issue
Block a user