@@ -124,7 +124,6 @@ public void ResetTooltip()
124124
125125 private readonly TreeType treeType ;
126126 private readonly bool hideDuplicateRows ;
127- private readonly bool hideReduntantPrefabVariantLinks ;
128127
129128 private bool isSearching ;
130129
@@ -164,13 +163,12 @@ public void ResetTooltip()
164163 [ System . Obsolete ] private new string searchString { get ; }
165164 [ System . Obsolete ] private new bool hasSearch { get ; }
166165
167- public SearchResultTreeView ( SearchResultTreeViewState state , List < ReferenceNode > references , TreeType treeType , HashSet < Object > usedObjectsSet , bool hideDuplicateRows , bool hideReduntantPrefabVariantLinks , bool usesExternalScrollView ) : base ( state )
166+ public SearchResultTreeView ( SearchResultTreeViewState state , List < ReferenceNode > references , TreeType treeType , HashSet < Object > usedObjectsSet , bool hideDuplicateRows , bool usesExternalScrollView ) : base ( state )
168167 {
169168 this . state = state ;
170169 this . references = references ;
171170 this . treeType = treeType ;
172171 this . hideDuplicateRows = hideDuplicateRows ;
173- this . hideReduntantPrefabVariantLinks = hideReduntantPrefabVariantLinks ;
174172
175173 highlightedSearchTextColor = "<color=#" + ColorUtility . ToHtmlStringRGBA ( AssetUsageDetectorSettings . SearchMatchingTextColor ) + ">" ;
176174
@@ -1158,7 +1156,7 @@ private void ShowChildrenOfSelectionInNewWindow()
11581156
11591157 if ( selectedNodes . Count > 0 )
11601158 {
1161- SearchResultTreeView isolatedTreeView = new SearchResultTreeView ( new SearchResultTreeViewState ( ) , selectedNodes , TreeType . IsolatedView , null , hideDuplicateRows , hideReduntantPrefabVariantLinks , false ) ;
1159+ SearchResultTreeView isolatedTreeView = new SearchResultTreeView ( new SearchResultTreeViewState ( ) , selectedNodes , TreeType . IsolatedView , null , hideDuplicateRows , false ) ;
11621160 isolatedTreeView . ExpandMainReferences ( ) ;
11631161
11641162 SearchResultTreeViewIsolatedView . Show ( new Vector2 ( EditorWindow . focusedWindow . position . width , Mathf . Max ( isolatedTreeView . totalHeight , EditorGUIUtility . singleLineHeight * 5f ) + 1f ) , isolatedTreeView , new GUIContent ( selectedNodes [ 0 ] . Label + ( selectedNodes . Count <= 1 ? "" : ( " (and " + ( selectedNodes . Count - 1 ) + " more)" ) ) ) ) ;
0 commit comments