Do not allow dimensions in the footprint editor
The object type doesn't exist in 6.0 Fixes https://gitlab.com/kicad/code/kicad/issues/12841
This commit is contained in:
parent
be86e9f57f
commit
8af64fb326
|
@ -722,7 +722,7 @@ void DRAWING_TOOL::constrainDimension( PCB_DIMENSION_BASE* aDim )
|
|||
|
||||
int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
|
||||
{
|
||||
if( m_isFootprintEditor && !m_frame->GetModel() )
|
||||
if( m_isFootprintEditor )
|
||||
return 0;
|
||||
|
||||
if( m_inDrawingTool )
|
||||
|
|
Loading…
Reference in New Issue