Skip to content

Commit

Permalink
Fix #2335, there isn't a subject for a computed shape. (#2340)
Browse files Browse the repository at this point in the history
  • Loading branch information
akenmorris authored Oct 16, 2024
1 parent 29eae9c commit 21d696f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Libs/Analyze/Shape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ void Shape::set_id(int id) { id_ = id; }

//---------------------------------------------------------------------------
void Shape::update_annotations() {
if (!subject_) {
return;
}
if (!subject_->get_original_filenames().empty()) {
/// TODO: Show multiple lines of filenames for multiple domains?
std::string filename = subject_->get_original_filenames()[0];
Expand Down

0 comments on commit 21d696f

Please sign in to comment.