From: Florian S. <fsc...@te...> - 2009-02-26 13:09:10
|
On Wed, 2009-02-25 at 22:22 +0100, Fredrik Olofsson wrote: > helloFlo, > why is this crashing with a 'Bus error'? > > h= Server("scgraph", NetAddr("localhost", 37291)); > h.boot; > ( > SynthDef(\render, {|in= 0| > GGLRenderer.gr(GTriangle.gr, 1, [1, 0, 0, 0.1], 0, 1, 0, 1); > }).play(h); > ) Hi again, does this diff fix the issue for you [also attached]? Index: server/plugins/triangle.cc =================================================================== --- server/plugins/triangle.cc (revision 35) +++ server/plugins/triangle.cc (working copy) @@ -60,10 +60,6 @@ _g.touch()->_faces[0].touch()->_vertices[0]._c[i] = *_control_in s[i]; _g.touch()->_faces[0].touch()->_vertices[1]._c[i] = *_control_in s[i+3]; _g.touch()->_faces[0].touch()->_vertices[2]._c[i] = *_control_in s[i+6]; - - _g.touch()->_faces[0].touch()->_vertices[0]._c[i] = *_control_in s[i+9]; - _g.touch()->_faces[0].touch()->_vertices[1]._c[i] = *_control_in s[i+9]; - _g.touch()->_faces[0].touch()->_vertices[2]._c[i] = *_control_in s[i+9]; } _graphics_outs[0]._graphics.push_back (_g); -- Dipl.-Inform. Florian Paul Schmidt University of Bielefeld, Neuroinformatics Group, CITEC Contact: http://ekvv.uni-bielefeld.de/pers_publ/publ/personDetailAct?id=5504453 |