Hi Valeri, TMarker3DBox::ExecuteEvent was not implemented in version 2.21. It is now implemented in the development version 2.22. This explains why you could not rotate in the pad a TMarker3DBox object. There was also a protection missing in TMarker3DBox::Paint. OpenGL was systematically called (even when GL was not initialized). This is now fixed in 2.22. Rene Brun Tioukov Valeri wrote: > > Dear Rene, > > On Thu, 20 May 1999, Rene Brun wrote: > > TMarker3DBox is "rotatable". You can try with the macro below. > > I just tried the macro. > When I point the mouse on the boxes it remains the "+" sign so I can not > rotate it in the usual canvas. > It perfectly rotating in X3D and in OpenGL. But what really surprised me > that if I start in the same session OpenGL after finishing X3D or vise > versa - the segmentation violation is happend: > > [tyukov@chorusdq]~/R/root/test> root > ******************************************* > * * > * W E L C O M E to R O O T * > * * > * Version 2.21/08 29 March 1999 * > * * > * You are welcome to visit our Web site * > * http://root.cern.ch * > * * > ******************************************* > > FreeType Engine v1.1 used to render TrueType fonts. > > CINT/ROOT C/C++ Interpreter version 5.13.92, Mar 13 1999 > Type ? for help. Commands must be C++ statements. > Enclose multiple statements between { }. > root [0] .x fitz.C > root [1] Total size of x3d primitives: > gSize3D.numPoints=1600 > gSize3D.numSegs =2400 > gSize3D.numPolys =1200 > > *** Break *** segmentation violation > > X3D and OpenGL were started from "View" menu. > > My system parameters: > RH5.2 gcc version egcs-2.90.29 980515 (egcs-1.0.3 release) > > Root was compiled from src, but I didn't observe any singularities in > the tests and tutorials so far. > > What could be the reason of the problem? > > Best regards > Valeri
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET