Skip to content

Commit 72805ae

Browse files
committed
odb: cont.
Signed-off-by: Osama <osama21@aucegypt.edu>
1 parent 62a83b2 commit 72805ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/odb/src/db/dbTypes.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ dbOrientType3D::dbOrientType3D(const dbOrientType& orient, bool mirror_z)
228228

229229
std::string dbOrientType3D::getString() const
230230
{
231+
if (mirror_z_ && getOrientType2D() == dbOrientType::R0) {
232+
return "MZ";
233+
}
231234
std::string orient_2d_str = getOrientType2D().getString();
232235
if (orient_2d_str == "MXR90") {
233236
orient_2d_str = "MX_R90";

0 commit comments

Comments
 (0)