diff --git a/Nodes/VVVV.DX11.Nodes/Nodes/Geometry/Indirect/IndexIndirectDrawerBufferNode.cs b/Nodes/VVVV.DX11.Nodes/Nodes/Geometry/Indirect/IndexIndirectDrawerBufferNode.cs index 6a993820..118c8def 100644 --- a/Nodes/VVVV.DX11.Nodes/Nodes/Geometry/Indirect/IndexIndirectDrawerBufferNode.cs +++ b/Nodes/VVVV.DX11.Nodes/Nodes/Geometry/Indirect/IndexIndirectDrawerBufferNode.cs @@ -39,7 +39,7 @@ public class IndexIndirectDrawerBufferNode : IPluginEvaluate, IDX11ResourceHost [Output("Geometry Out")] protected ISpread> FOutGeom; - bool invalidate = false; + bool invalidate; public void Evaluate(int SpreadMax) { @@ -82,8 +82,6 @@ public void Update(DX11RenderContext context) geom.AssignDrawer(ind); ind.Update(context, this.FInCnt[i]); - - this.invalidate = false; } else { @@ -111,6 +109,8 @@ public void Update(DX11RenderContext context) this.FOutGeom[i][context] = geom; } + this.invalidate = false; + } public void Destroy(DX11RenderContext OnDevice, bool force)