<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<font><tt><font color="#000000"><tt>
<pre>Hi,
I'm just trying to learn how to use OpenGL in FXRuby. I tried
to add the drawing of a line to the glviewer example, using a
statement completely analogous to the other objects in the scene,
namely,
gp2.append(FXGLLine.new(-1.0,-1.0,-1.0, 1.0,1.0,1.0))
placed after the FXGLCylinder statement, and this produces the
error message:
in `append': This FXGLObject * already released (RuntimeError).
It makes no difference if I create and name the object in a separate
statement, and then append it to the group of FXGLObjects; the error
still occurs with exactly the same message.
Have I done something completely stupid, or is this a bug?
Peter</pre>
</tt></font></tt></font>
<pre class="moz-signature" cols="120">--
*************************************************
Peter J. Puchyr, M.Sc., P.Eng.
SpaceTime Simulation Corp.
#302, 112 - 34 Street N.W.
Calgary, Alberta
Canada T2N 2X5
(403) 270-0489
</pre>
</body>
</html>
|