Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Commit

Permalink
remove ignoreRectMaskCulling
Browse files Browse the repository at this point in the history
  • Loading branch information
akihiro0105 committed Oct 26, 2020
1 parent f97a115 commit 43efa4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -136,9 +136,9 @@ public TextMeshProperties(TMP_Text textMesh)
fontSizeMax = textMesh.fontSizeMax;
fontSizeMin = textMesh.fontSizeMin;
fontStyle = textMesh.fontStyle;
fontWeight = (int) textMesh.fontWeight;
fontWeight = (int)textMesh.fontWeight;
horizontalMapping = textMesh.horizontalMapping;
ignoreRectMaskCulling = textMesh.ignoreRectMaskCulling;
ignoreRectMaskCulling = false;//textMesh.ignoreRectMaskCulling;
ignoreVisibility = textMesh.ignoreVisibility;
isOrthographic = textMesh.isOrthographic;
isOverlay = textMesh.isOverlay;
Expand Down Expand Up @@ -233,7 +233,7 @@ public bool IsCached(TMP_Text other)
enableKerning == other.enableKerning &&
enableWordWrapping == other.enableWordWrapping &&
extraPadding == other.extraPadding &&
ignoreRectMaskCulling == other.ignoreRectMaskCulling &&
//ignoreRectMaskCulling == other.ignoreRectMaskCulling &&
ignoreVisibility == other.ignoreVisibility &&
isOrthographic == other.isOrthographic &&
isOverlay == other.isOverlay &&
Expand All @@ -256,7 +256,7 @@ public bool IsCached(TMP_Text other)
fontSizeMax == other.fontSizeMax &&
fontSizeMin == other.fontSizeMin &&
fontStyle == other.fontStyle &&
fontWeight == (int) other.fontWeight &&
fontWeight == (int)other.fontWeight &&
horizontalMapping == other.horizontalMapping &&
lineSpacing == other.lineSpacing &&
lineSpacingAdjustment == other.lineSpacingAdjustment &&
Expand Down
Expand Up @@ -60,7 +60,7 @@ public override void Read(INetworkConnection connection, BinaryReader message)
TextMeshObserver.enableKerning = values[4];
TextMeshObserver.enableWordWrapping = values[5];
TextMeshObserver.extraPadding = values[6];
TextMeshObserver.ignoreRectMaskCulling = values[7];
//TextMeshObserver.ignoreRectMaskCulling = values[7];

values = Unpack(message.ReadByte());
TextMeshObserver.ignoreVisibility = values[0];
Expand Down

0 comments on commit 43efa4e

Please sign in to comment.