<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">For material overrides the original setting would still be<br>
object.materials[0].material.<br></blockquote><div><br></div></span><div>That won't work if the object has multiple materials, or the material is assigned to the mesh instead of the object?</div></div></div></div></blockquote><div class="gmail_default" style="font-family:"courier new",monospace">​</div><div class="gmail_default" style="font-family:"courier new",monospace">As per the current Depsgraph this would actually work. ​​Depsgraph will make sure all objects their material slots and their meshes are referencing to the "override material".</div><div class="gmail_default" style="font-family:"courier new",monospace">​<br></div><div class="gmail_default" style="font-family:"courier new",monospace"><blockquote class="gmail_quote" style="font-family:arial,sans-serif;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">I think this would be better as a SceneLayer setting, it's common enough that it needs to be convenient I think. <div class="gmail_default" style="font-family:"courier new",monospace;display:inline">​</div></div></div></div></blockquote><div class="gmail_default">​</div></div><div class="gmail_default" style="font-family:"courier new",monospace">I agree with the later, not with the former. How about we make adding overrides convenient first? If we fail than we roll back (and implement material override for Eevee expliclitly as well).</div><div class="gmail_default" style="font-family:"courier new",monospace"><br></div><div class="gmail_default" style="font-family:"courier new",monospace"><div class="gmail_default">​</div><blockquote class="gmail_quote" style="font-family:arial,sans-serif;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="gmail_default" style="font-family:"courier new",monospace;display:inline">​</div>We might also want to make it smarter in the future so it doesn't override mesh lights.</div></div></div></blockquote></div><div class="gmail_default" style="font-family:"courier new",monospace"><br></div><div class="gmail_default" style="font-family:"courier new",monospace">For fine-tuning control (override materials for regular meshes but not "mesh lights") you then would use collection overrides instead of the (scene)layer override.</div></div><br></div></div>