Explorar el Código

Really add the old parameter names to load oar to keep downward compatibiliy

Robert Adams hace 10 años
padre
commit
8c6a0cb44a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs

+ 2 - 0
OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs

@@ -114,7 +114,9 @@ namespace OpenSim.Region.CoreModules.World.Archiver
             options.Add("m|merge", delegate (string v) { mergeOar = (v != null); });
             options.Add("s|skip-assets", delegate (string v) { skipAssets = (v != null); });
             options.Add("force-terrain", delegate (string v) { forceTerrain = (v != null); });
+            options.Add("forceterrain", delegate (string v) { forceTerrain = (v != null); });   // downward compatibility
             options.Add("force-parcels", delegate (string v) { forceParcels = (v != null); });
+            options.Add("forceparcels", delegate (string v) { forceParcels = (v != null); });   // downward compatibility
             options.Add("displacement=", delegate (string v) {
                 try
                 {