I've moved to v5.0 and trying to compile my firmware I noticed a bug when trying to compile the polysurvey in the flight plan.
<block group="extra_pattern" name="Poly Survey" strip_button="Survey" strip_icon="survey.png">
<call fun="InitializePolygonSurvey(WP_S1, 5, 150, 20)"/>
<call fun="PolygonSurvey()"/>
</block>
It was perfectly working for me in v4.2
Cheers,
Joseph