--- a/src/hugin_base/panotools/PanoToolsOptimizerWrapper.cpp
+++ b/src/hugin_base/panotools/PanoToolsOptimizerWrapper.cpp
@@ -131,11 +131,6 @@
 
     OptInfo		opt;
 	AlignInfo	ainf;
-
-    // work around a small bug in libpano13 that does not
-    // enforce the m0 default in the m line, if optimisation
-    // with m2 or so have been made before
-    setFcnPanoHuberSigma(0);
 
     if (ParseScript( script, &ainf ) == 0)
 	{