Remove an unused variable and a debug printf
This commit is contained in:
parent
3257f1a863
commit
abbd47e2f2
|
@ -238,7 +238,6 @@ void TOOL_BASE::updateEndItem( TOOL_EVENT& aEvent )
|
|||
{
|
||||
VECTOR2I mp = m_ctls->GetMousePosition();
|
||||
VECTOR2I p = getView()->ToWorld( mp );
|
||||
VECTOR2I cp = m_ctls->GetCursorPosition();
|
||||
int layer;
|
||||
bool snapEnabled = !aEvent.Modifier( MD_SHIFT );
|
||||
|
||||
|
|
|
@ -815,8 +815,6 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent )
|
|||
|
||||
VECTOR2I p0 = ctls->GetCursorPosition();
|
||||
|
||||
printf("StartDrag : %p\n", m_startItem );
|
||||
|
||||
bool dragStarted = m_router->StartDragging( p0, m_startItem );
|
||||
|
||||
if( !dragStarted )
|
||||
|
|
Loading…
Reference in New Issue