Backport branch 'bugfix/settingLongestEdgeInFactory' into '2.9'
in the factory setting the longest edge for refinement did not work
See merge request !151 (merged)
(cherry picked from commit b7df8228)
5a1cda7a in the factory setting the longest edge for refinement did not work