Browse Source

Remove delay_profile API parameter until design matures

revert-0c36e162
JamesJCode 7 months ago
parent
commit
8ef54c3651
  1. 3
      api/proto/common/types/project_settings.proto
  2. 6
      common/netclass.cpp

3
api/proto/common/types/project_settings.proto

@ -49,9 +49,6 @@ message NetClassBoardSettings
optional kiapi.board.types.PadStack microvia_stack = 7;
optional kiapi.common.types.Color color = 8;
// Since: 10.0.0
optional string delay_profile = 9;
}
message NetClassSchematicSettings

6
common/netclass.cpp

@ -180,9 +180,6 @@ void NETCLASS::Serialize( google::protobuf::Any &aContainer ) const
if( m_pcbColor != COLOR4D::UNSPECIFIED )
PackColor( *board->mutable_color(), m_pcbColor );
if( HasDelayProfile() )
board->set_delay_profile( m_DelayProfile );
project::NetClassSchematicSettings* schematic = nc.mutable_schematic();
if( m_wireWidth )
@ -249,9 +246,6 @@ bool NETCLASS::Deserialize( const google::protobuf::Any &aContainer )
if( nc.board().has_color() )
m_pcbColor = UnpackColor( nc.board().color() );
if( nc.board().has_delay_profile() )
m_DelayProfile = nc.board().delay_profile();
if( nc.schematic().has_wire_width() )
m_wireWidth = nc.schematic().wire_width().value_nm();

Loading…
Cancel
Save