Skip to content

Conversation

@ekouters
Copy link
Contributor

@ekouters ekouters commented Jan 5, 2021

Solves segfaults from #52 and #111

One problem was caused by attempting to expand invalid subtrees, e.g., with an unconnected node. This change gives a popup message saying that this subtree can not be expanded.

Another problem was when a subtree was already expanded, and then modified into an invalid subtree, e.g., by removing an edge. Switching back to the tab with the expanded subtree triggered code to refresh the now invalid subtree leading to a segfault. This change collapses the subtree before refreshing it.

@facontidavide facontidavide merged commit 61ad257 into BehaviorTree:master Feb 13, 2021
@facontidavide
Copy link
Contributor

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants