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:
Seth Hillbrand 2022-11-30 11:03:49 -08:00
parent be86e9f57f
commit 8af64fb326
1 changed files with 1 additions and 1 deletions

View File

@ -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 )