Skip to content

Commit 53ff615

Browse files
committed
Fix radio object reporting wrong name
1 parent 11b5050 commit 53ff615

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Source/Objects/ObjectBase.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,11 @@ void ObjectBase::setType()
351351
return "vsl";
352352
else
353353
return "hsl";
354+
case hash("hradio"):
355+
if (obj.cast<t_radio>()->x_orientation)
356+
return "vradio";
357+
else
358+
return "hradio";
354359
default:
355360
break;
356361
}

0 commit comments

Comments
 (0)