remove dbg mesages

This commit is contained in:
stefan schippers 2024-03-04 15:33:11 +01:00
parent 7daea289a2
commit 973d2c7415
3 changed files with 3 additions and 7 deletions

View File

@ -1643,7 +1643,7 @@ int rstate; /* (reduced state, without ShiftMask) */
xctx->mouse_inside = 0;
break;
case EnterNotify:
dbg(0, "callback(): Enter event, ui_state=%d\n", xctx->ui_state);
dbg(2, "callback(): Enter event, ui_state=%d\n", xctx->ui_state);
xctx->mouse_inside = 1;
if(draw_xhair)
tclvareval(xctx->top_path, ".drw configure -cursor none" , NULL);
@ -1654,19 +1654,16 @@ int rstate; /* (reduced state, without ShiftMask) */
in another xschem xctx->window; STARTCOPY set and selection file does not exist any more */
if(stat(sel_file, &buf) && (xctx->ui_state & STARTCOPY) )
{
here(1111);
copy_objects(ABORT);
unselect_all(1);
}
/* xschem window *receiving* selected objects selection cleared --> abort */
else if(!xctx->paste_from && stat(sel_file, &buf) && (xctx->ui_state & STARTMERGE)) {
here(2222);
abort_operation();
}
/*xschem window *receiving* selected objects
* no selected objects and selection file exists --> start merge */
else if(xctx->lastsel == 0 && !stat(sel_file, &buf)) {
here(3333);
xctx->mousex_snap = 490;
xctx->mousey_snap = -340;
merge_file(1, ".sch");

View File

@ -550,7 +550,7 @@ void copy_objects(int what)
{
int l, firstw, firsti;
dbg(0, "end copy: unlink sel_file\n");
dbg(1, "end copy: unlink sel_file\n");
xunlink(sel_file);
set_first_sel(0, -1, 0); /* reset first selected object */
if(xctx->connect_by_kissing == 2) xctx->connect_by_kissing = 0;
@ -948,7 +948,7 @@ void move_objects(int what, int merge, double dx, double dy)
{
int firsti, firstw;
dbg(0, "end move: unlink sel_file\n");
dbg(1, "end move: unlink sel_file\n");
xunlink(sel_file);
xctx->paste_from = 0; /* end of a paste from clipboard command */
if(xctx->connect_by_kissing == 2) xctx->connect_by_kissing = 0;

View File

@ -332,7 +332,6 @@ void merge_file(int selection_load, const char ext[])
{
name = clip_file;
xctx->paste_from = 1;
here(1234);
}
if(is_generator(name)) generator = 1;