Fix a crash when constraining a line segment symmetric

This was a regression Introduced in 3d3d5c7.
Fixes #1345
pull/1348/head
ruevs 2023-02-28 22:49:36 +02:00
parent d6e970918f
commit 25b5977962
1 changed files with 1 additions and 1 deletions

View File

@ -580,8 +580,8 @@ void Constraint::MenuConstrain(Command id) {
Entity::NO_ENTITY);
DeleteAllConstraintsFor(Type::VERTICAL, (gs.entity[0]),
Entity::NO_ENTITY);
newcons.push_back(c);
AddConstraint(&c, /*rememberForUndo=*/false);
newcons.push_back(c);
break;
}
}