Skip to content

Fix recursion cost item bug#7805

Open
maxfb87 wants to merge 2 commits intoIfcOpenShell:v0.8.0from
maxfb87:fix_recursion_cost_item_bug
Open

Fix recursion cost item bug#7805
maxfb87 wants to merge 2 commits intoIfcOpenShell:v0.8.0from
maxfb87:fix_recursion_cost_item_bug

Conversation

@maxfb87
Copy link
Copy Markdown
Contributor

@maxfb87 maxfb87 commented Mar 16, 2026

There is a subtle bug that affect the cost panel.
When you disable a cost item editing, it appears in the console but it doesn't stops blender (so the user doesn't see anything).
It is caused by the update function defined for property change_cost_item_parent because blender activate that also when that variable has the same value of the assignment (for example it is already false and i assign false).
So in order to prevent that, i fixed with an if statement and also added a test for it.

maxfb87 added 2 commits March 16, 2026 17:21
previously there was an almost silent error because the update function was called every time. Now it should be fixed.
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.

1 participant