Clean up debugging output accidentally left in previous commit.
This commit is contained in:
parent
0ff8d21459
commit
33566f88a9
|
@ -81,6 +81,14 @@
|
||||||
#include "sch_edit_table_tool.h"
|
#include "sch_edit_table_tool.h"
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Flag to enable schematic paste debugging output.
|
||||||
|
*
|
||||||
|
* @ingroup trace_env_vars
|
||||||
|
*/
|
||||||
|
static const wxChar traceSchPaste[] = wxT( "KICAD_SCH_PASTE" );
|
||||||
|
|
||||||
|
|
||||||
int SCH_EDITOR_CONTROL::New( const TOOL_EVENT& aEvent )
|
int SCH_EDITOR_CONTROL::New( const TOOL_EVENT& aEvent )
|
||||||
{
|
{
|
||||||
m_frame->NewProject();
|
m_frame->NewProject();
|
||||||
|
@ -1444,7 +1452,8 @@ void SCH_EDITOR_CONTROL::updatePastedSymbol( SCH_SYMBOL* aSymbol,
|
||||||
newInstance = tmp;
|
newInstance = tmp;
|
||||||
instanceFound = true;
|
instanceFound = true;
|
||||||
|
|
||||||
wxLogDebug( wxS( "Pasting found symbol instance with reference %s, unit %d:"
|
wxLogTrace( traceSchPaste,
|
||||||
|
wxS( "Pasting found symbol instance with reference %s, unit %d:"
|
||||||
"\n\tClipboard path: %s\n\tSymbol UUID: %s." ),
|
"\n\tClipboard path: %s\n\tSymbol UUID: %s." ),
|
||||||
tmp.m_Reference, tmp.m_Unit,
|
tmp.m_Reference, tmp.m_Unit,
|
||||||
aClipPath.AsString(), aSymbol->m_Uuid.AsString() );
|
aClipPath.AsString(), aSymbol->m_Uuid.AsString() );
|
||||||
|
@ -1458,7 +1467,8 @@ void SCH_EDITOR_CONTROL::updatePastedSymbol( SCH_SYMBOL* aSymbol,
|
||||||
|
|
||||||
if( !instanceFound )
|
if( !instanceFound )
|
||||||
{
|
{
|
||||||
wxLogDebug( wxS( "Clipboard symbol instance **not** found:\n\tClipboard path: %s\n\t"
|
wxLogTrace( traceSchPaste,
|
||||||
|
wxS( "Clipboard symbol instance **not** found:\n\tClipboard path: %s\n\t"
|
||||||
"Symbol UUID: %s." ),
|
"Symbol UUID: %s." ),
|
||||||
aClipPath.AsString(), aSymbol->m_Uuid.AsString() );
|
aClipPath.AsString(), aSymbol->m_Uuid.AsString() );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue