[mapguide-commits] r6975 - in branches/maestro-4.0.x: Maestro Maestro.Editors/LayerDefinition/Vector OSGeo.MapGuide.MaestroAPI/ObjectModels
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Sep 3 06:08:35 PDT 2012
Author: jng
Date: 2012-09-03 06:08:34 -0700 (Mon, 03 Sep 2012)
New Revision: 6975
Modified:
branches/maestro-4.0.x/Maestro.Editors/LayerDefinition/Vector/VectorLayerStyleSectionCtrl.cs
branches/maestro-4.0.x/Maestro/changelog.txt
branches/maestro-4.0.x/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs
Log:
#2091: Backport to 4.0.x
Modified: branches/maestro-4.0.x/Maestro/changelog.txt
===================================================================
--- branches/maestro-4.0.x/Maestro/changelog.txt 2012-09-03 13:03:51 UTC (rev 6974)
+++ branches/maestro-4.0.x/Maestro/changelog.txt 2012-09-03 13:08:34 UTC (rev 6975)
@@ -1,6 +1,7 @@
4.0.3
-----
- Use UNIQUE() for fetching distinct values in Expression Editor
+ - Fix: Duplicating vector scale ranges not creating true clones
4.0.2
-----
Modified: branches/maestro-4.0.x/Maestro.Editors/LayerDefinition/Vector/VectorLayerStyleSectionCtrl.cs
===================================================================
--- branches/maestro-4.0.x/Maestro.Editors/LayerDefinition/Vector/VectorLayerStyleSectionCtrl.cs 2012-09-03 13:03:51 UTC (rev 6974)
+++ branches/maestro-4.0.x/Maestro.Editors/LayerDefinition/Vector/VectorLayerStyleSectionCtrl.cs 2012-09-03 13:08:34 UTC (rev 6975)
@@ -85,7 +85,8 @@
var vsc = lstScaleRanges.SelectedItem as VectorScaleRange;
if (vsc != null)
{
- AddScaleRange(vsc.Clone());
+ var clone = vsc.Clone();
+ AddScaleRange(clone);
}
}
Modified: branches/maestro-4.0.x/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs
===================================================================
--- branches/maestro-4.0.x/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs 2012-09-03 13:03:51 UTC (rev 6974)
+++ branches/maestro-4.0.x/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs 2012-09-03 13:08:34 UTC (rev 6975)
@@ -281,7 +281,7 @@
IVectorScaleRange IVectorScaleRange.Clone()
{
- return this.Clone();
+ return VectorScaleRangeType.Deserialize(this.Serialize());
}
#if LDF_110 || LDF_120
More information about the mapguide-commits
mailing list