This fixes an issue introduced by the new output node system, where "No output node" was displayed in the material panel even when an output node was present.
This fixes an issue introduced by the new output node system, where "No output node" was displayed in the material panel even when an output node was present.