def draw_buttons_ext(self, context, layout): BRDFVRayMtl.gui(context, layout, self.BRDFVRayMtl)
def draw_buttons(self, context, layout): layout.prop(self, 'showAll') if self.showAll: BRDFVRayMtl.gui(context, layout.box(), self.BRDFVRayMtl, node=self)