Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reference file name being kept when loading new building #501

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

luca-della-vedova
Copy link
Member

Bug fix

Fixed bug

The reference level name variable was not correctly reset, so when working with a file that has the reference level name set to a value, then loading one where it is not set to anything, the variable wouldn't be reset and it would be saved to the new building.

Fix applied

Reset the reference_level_name if it's empty when loading a building.

Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
Copy link
Member

@xiyuoh xiyuoh left a comment

Choose a reason for hiding this comment

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

Tested and works great. LGTM!

@luca-della-vedova luca-della-vedova merged commit f5d1381 into main Aug 2, 2024
7 checks passed
@luca-della-vedova luca-della-vedova deleted the luca/reference_level_name_loading branch August 2, 2024 01:36
luca-della-vedova added a commit that referenced this pull request Aug 12, 2024
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
xiyuoh pushed a commit that referenced this pull request Aug 13, 2024
…503)

Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
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