Index: trunk/src_plugins/rubberband_orig/rubberband.c =================================================================== --- trunk/src_plugins/rubberband_orig/rubberband.c (revision 32541) +++ trunk/src_plugins/rubberband_orig/rubberband.c (revision 32542) @@ -1055,6 +1055,10 @@ pcb_rb_line_t *ptr = rbnd->lines.array; int direct = argv[1].d.i; + if (conf_core.editor.line_refraction == 0) { + TODO("what to do in ortho mode? - disable rubber band for now"); + return; + } while(rbnd->lines.used) { const int dindex1 = ptr->delta_index[0]; @@ -1158,6 +1162,11 @@ rnd_cardinal_t i; int direct = argv[1].d.i; + if (conf_core.editor.line_refraction == 0) { + TODO("what to do in ortho mode? - disable rubber band for now"); + return; + } + /* draw the attached rubberband lines too */ i = rbnd->lines.used; ptr = rbnd->lines.array;