gEDA-dev: gschem bug when copying components
Carlos Nieves Ónega
cnieves.mail at gmail.com
Fri Sep 8 12:42:24 EDT 2006
El vie, 08-09-2006 a las 16:32 +0100, Peter Clifton escribió:
> On Fri, 2006-09-08 at 17:04 +0200, Carlos Nieves Ónega wrote:
[snip]
> I'm currently looking to stabalise a version of geda to release on a CD
> production run, so we're looking to change as little as possible from
> the last release.
Then go to x_event.c, function x_button_event_released, and comment out
the following code:
else if ((w_current->event_state == ENDMOVE) ||
(w_current->event_state == ENDCOPY) ||
(w_current->event_state == ENDMCOPY) ) {
prev_state = w_current->event_state;
o_drawbounding(w_current, NULL,
w_current->page_current->complex_place_list,
x_get_darkcolor(w_current->bb_color), TRUE);
/* Don't allow o_rotate_90 to erase the selection, neither to
redraw the objects after rotating */
/* skip over head node */
redraw_state = w_current->DONT_REDRAW;
w_current->DONT_REDRAW = 1;
o_rotate_90(w_current,
w_current->page_current->complex_place_list,
fix_x(w_current, w_current->start_x),
fix_y(w_current, w_current->start_y));
w_current->DONT_REDRAW = redraw_state;
w_current->rotated_inside ++;
w_current->event_state = prev_state;
o_drawbounding(w_current, NULL,
w_current->page_current->complex_place_list,
x_get_darkcolor(w_current->bb_color), TRUE);
return(0);
}
That should prevent rotating while moving/copying.
Regards,
Carlos
More information about the geda-dev
mailing list