Skip to content

Conversation

@hugtalbot
Copy link
Contributor

Fixes #268

else if (auto* sutureOperation = dynamic_cast<AddSutureOperation*>(operation))
{
static float stiffness = 10.0f;
float stiffness = 10.0f;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure you should remove the static...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought that in case the operation changes while the static variable retains its old value, it may cause state persistence issues

@hugtalbot hugtalbot requested a review from alxbilger January 29, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modifying the mouse interaction crashes the app

2 participants