Skip to content

Commit 7b9b565

Browse files
committed
Only clean up groomed files for non-fixed domains.
1 parent 5bb6503 commit 7b9b565

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Libs/Groom/Groom.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,9 +994,12 @@ void Groom::clear_unused_shared_boundaries() {
994994
project_->set_original_domain_types(original_domain_types);
995995
project_->set_groomed_domain_types(groomed_domain_types);
996996

997-
// Clean up files from all subjects
997+
// Clean up files from all non-fixed subjects
998998
auto subjects = project_->get_subjects();
999999
for (auto& subject : subjects) {
1000+
if (subject->is_fixed()) {
1001+
continue; // Skip fixed subjects
1002+
}
10001003
// Remove shared surface/boundary files using lambda
10011004
auto original_filenames = subject->get_original_filenames();
10021005
remove_shared_files(original_filenames);

0 commit comments

Comments
 (0)