Skip to content
Snippets Groups Projects
Commit 3ce042ef authored by Marco Zimmer's avatar Marco Zimmer
Browse files

Bug fix 'missing glabel A'

parent faf261b9
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,7 @@ public string Id { ...@@ -125,7 +125,7 @@ public string Id {
/// </value> /// </value>
public string Label { public string Label {
get { // in case of renamed dependables get { // in case of renamed dependables
return _Facts.FactDict.Count == 0 return (_Facts.FactDict.Count == 0 && this is not PointFact) // JsonSerialization toggle && allow first (Point)Fact to be created
|| (hasCustomLabel && _CustomLabel != null) || (hasCustomLabel && _CustomLabel != null)
? _CustomLabel ? _CustomLabel
: generateLabel(); : generateLabel();
...@@ -818,7 +818,7 @@ private void init(string pid1, string pid2) ...@@ -818,7 +818,7 @@ private void init(string pid1, string pid2)
/// \copydoc Fact.generateLabel /// \copydoc Fact.generateLabel
protected override string generateLabel() protected override string generateLabel()
{ {
return "" + _Facts[Pid1].Label + _Facts[Pid2].Label + ""; return "]" + _Facts[Pid1].Label + _Facts[Pid2].Label + "[";
} }
/// \copydoc Fact.instantiateDisplay(GameObject, Transform) /// \copydoc Fact.instantiateDisplay(GameObject, Transform)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment