Fix uninitialized group

pull/1343/head
Koen Schmeets 2023-02-27 22:49:21 +01:00
parent 51c46b395b
commit 41d5795735
1 changed files with 1 additions and 5 deletions

View File

@ -784,12 +784,8 @@ Slvs_SolveResult Slvs_SolveSketch(uint32_t shg, int calculateFaileds = 0)
{
SYS.Clear();
Group g;
Group g = {};
g.h.v = shg;
g.suppressDofCalculation = 0;
g.allowRedundant = 0;
g.allDimsReference = 0;
g.relaxConstraints = 0;
// add params from entities on sketch
for(EntityBase &ent : SK.entity) {