From 71882b1f4c735c738ca4c7dd6f81daa2ee29d5e3 Mon Sep 17 00:00:00 2001 From: julien vulliet Date: Thu, 21 Mar 2019 17:53:20 +0100 Subject: [PATCH] Fix array for soft shape advanced --- .../Nodes/Shapes/Create/Soft/BulletGenerivSoftShapeNode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nodes/VVVV.DX11.Nodes.Bullet/Nodes/Shapes/Create/Soft/BulletGenerivSoftShapeNode.cs b/Nodes/VVVV.DX11.Nodes.Bullet/Nodes/Shapes/Create/Soft/BulletGenerivSoftShapeNode.cs index e7bca635..d5d823c4 100644 --- a/Nodes/VVVV.DX11.Nodes.Bullet/Nodes/Shapes/Create/Soft/BulletGenerivSoftShapeNode.cs +++ b/Nodes/VVVV.DX11.Nodes.Bullet/Nodes/Shapes/Create/Soft/BulletGenerivSoftShapeNode.cs @@ -41,7 +41,7 @@ protected override bool SubPinsChanged protected override AbstractSoftShapeDefinition GetShapeDefinition(int slice) { Vector3Array p = new Vector3Array(FPosition.SliceCount); - ScalarArray m = new ScalarArray(FMass.SliceCount); + ScalarArray m = new ScalarArray(FPosition.SliceCount); for (int i = 0; i < FPosition.SliceCount; i++) {