mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-03 14:59:23 +00:00
[BetterShadowClone] Reworked vert finding for exclusions to not nuke game for 20s
This commit is contained in:
parent
0d82606308
commit
df45fb50d9
4 changed files with 64 additions and 44 deletions
|
@ -16,9 +16,6 @@ public class MeshTransformHider : ITransformHider, IFPRExclusionTask
|
|||
private readonly MeshRenderer _mainMesh;
|
||||
private bool _enabledState;
|
||||
|
||||
// exclusion
|
||||
private readonly FPRExclusion _exclusion;
|
||||
|
||||
#region ITransformHider Methods
|
||||
|
||||
public bool IsActive { get; set; } = true; // default hide, but FPRExclusion can override
|
||||
|
@ -36,9 +33,8 @@ public class MeshTransformHider : ITransformHider, IFPRExclusionTask
|
|||
Dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
_exclusion = exclusion;
|
||||
_exclusion.relatedTasks.Add(this);
|
||||
|
||||
exclusion.relatedTasks.Add(this);
|
||||
|
||||
_mainMesh = renderer;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue