OSDN Git Service

1st attempt to fix Protocol buffer corruption issue
[automap/automap.git] / Automap / Data / PointOfInterest.cs
index 28bf5d8..c673f7c 100644 (file)
@@ -15,7 +15,7 @@ namespace Automap
        /// <summary>
        /// Actual Physical Point in space - that is interesting.
        /// </summary>
-       [ProtoContract]
+       [ProtoContract(ImplicitFields = ImplicitFields.None)]
        public struct PointOfInterest
        {
                [DisplayName(0, "Name")]
@@ -27,6 +27,7 @@ namespace Automap
                public string Notes;
 
                [DisplayName(1, "Loc.")]
+               [ProtoIgnore]
                public string PrettyLocation;
 
                [ProtoMember(3)]