Notifications
Clear all

[Closed] Getting to the parent material in a submaterial

I’m adding a sub material to a material through the setSubMtl method.

setSubMtl this 1 (Standard())

Then when i do a
setMeditmaterial (activeMeditSlot)(getSubMtl this 1)

it does load the material in the editor. But the “go to parent” option is not available. So i cant get to the main material. So i’m assuming my setMeditmaterial is either placing a copy, or somehow not triggering the parent option.

Is there a way to get this option to show up, or am i doing something wrong?

Thanks