Clean up debugging output accidentally left in previous commit.
(cherry picked from commit 33566f88a9
)
This commit is contained in:
parent
dd71173263
commit
ab6c64b49a
|
@ -80,6 +80,14 @@
|
||||||
#include <wx/treectrl.h>
|
#include <wx/treectrl.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();
|
||||||
|
@ -1443,7 +1451,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() );
|
||||||
|
@ -1457,7 +1466,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