Remove paste sheet instance path debugging output.
This commit is contained in:
parent
8d2784b822
commit
d96ebf5745
|
@ -1480,8 +1480,6 @@ SCH_SHEET_PATH SCH_EDITOR_CONTROL::updatePastedSheet( const SCH_SHEET_PATH& aPas
|
||||||
sheetPath.push_back( aSheet );
|
sheetPath.push_back( aSheet );
|
||||||
|
|
||||||
aPastedSheetsSoFar->push_back( sheetPath );
|
aPastedSheetsSoFar->push_back( sheetPath );
|
||||||
wxLogDebug( wxS( "Adding pasted sheet path: %s from clipboard path: %s." ),
|
|
||||||
sheetPath.Path().AsString(), aClipPath.AsString() );
|
|
||||||
|
|
||||||
if( aSheet->GetScreen() == nullptr )
|
if( aSheet->GetScreen() == nullptr )
|
||||||
return sheetPath; // We can only really set the page number but not load any items
|
return sheetPath; // We can only really set the page number but not load any items
|
||||||
|
@ -1946,9 +1944,6 @@ int SCH_EDITOR_CONTROL::Paste( const TOOL_EVENT& aEvent )
|
||||||
while( hierarchy.PageNumberExists( pageNum ) )
|
while( hierarchy.PageNumberExists( pageNum ) )
|
||||||
pageNum = wxString::Format( "%d", ++page );
|
pageNum = wxString::Format( "%d", ++page );
|
||||||
|
|
||||||
wxLogDebug( wxS( "Setting sheet path %s instance." ),
|
|
||||||
pastedSheet.Path().AsString() );
|
|
||||||
|
|
||||||
SCH_SHEET_INSTANCE sheetInstance;
|
SCH_SHEET_INSTANCE sheetInstance;
|
||||||
|
|
||||||
sheetInstance.m_Path = pastedSheet.Path();
|
sheetInstance.m_Path = pastedSheet.Path();
|
||||||
|
|
Loading…
Reference in New Issue