Skip to content

Commit af03ad0

Browse files
authored
Add tags to object info (#4941)
1 parent 25e67b7 commit af03ad0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

source/MRMesh/MRObject.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,9 @@ std::vector<std::string> Object::getInfoLines() const
530530

531531
res.push_back( "type: " + getClassName() );
532532
res.push_back( "mem: " + bytesString( heapBytes() ) );
533+
res.push_back( fmt::format( "tags: {}", tags_.size() ) );
534+
for ( const auto& tag : tags_ )
535+
res.push_back( fmt::format( "· {}", tag ) );
533536
return res;
534537
}
535538

0 commit comments

Comments
 (0)