Remove paste sheet instance path debugging output.
This commit is contained in:
parent
0828ee3b10
commit
819f75e17c
|
@ -1478,8 +1478,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
|
||||||
|
@ -1938,9 +1936,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