@@ -13,6 +13,14 @@ class WeakPtrNode : BaseReferenceNode
1313 /// <summary>Size of the node in bytes.</summary>
1414 public override int MemorySize => IntPtr . Size ;
1515
16+
17+ /// <summary>Disable the cycle check for pointer references.</summary>
18+ public WeakPtrNode ( )
19+ : base ( false )
20+ {
21+
22+ }
23+
1624 /// <summary>Called when the node was created. Creates a new class as inner node.</summary>
1725 public override void Intialize ( )
1826 {
@@ -47,7 +55,7 @@ public override int Draw(ViewInfo view, int x, int y)
4755 x = AddText ( view , x , y , FrostbitePluginExt . Settings . TypeColor , HotSpot . NoneId , "WeakPtr" ) + view . Font . Width ;
4856 x = AddText ( view , x , y , FrostbitePluginExt . Settings . NameColor , HotSpot . NameId , Name ) + view . Font . Width ;
4957 x = AddText ( view , x , y , FrostbitePluginExt . Settings . ValueColor , HotSpot . NoneId , $ "<{ InnerNode . Name } >") ;
50- x = AddIcon ( view , x , y , Icons . Change , 4 , HotSpotType . ChangeAll ) ;
58+ x = AddIcon ( view , x , y , Icons . Change , 4 , HotSpotType . ChangeType ) ;
5159
5260 x += view . Font . Width ;
5361 x = AddComment ( view , x , y ) ;
0 commit comments