The genitalia in the fresco , referred to as ' objectionable , ' were painted over with drapery after Michelangelo died in 1564 by the Mannerist artist Daniele da Volterra , when the Council of Trent condemned nudity in religious art .