Issuse #4608 The restoration of Quad3 function