Bug#299957: [Pkg-octave-devel] Bug#299957: Incorrect arguments given to setfields in vrml_PointLight.m

Paul Kienzle Paul Kienzle <pkienzle@users.sf.net>, 299957@bugs.debian.org
Tue, 22 Mar 2005 23:06:37 -0500


This should be fixed now in upstream CVS.  I will release a new version 
when
the quiver problem is sorted.

Thanks,

- Paul

On Mar 17, 2005, at 9:44 AM, Edward C. Jones wrote:

> Package: octave-forge
> Version: 2004.11.16-6
>
> Enter octave and run test_vmesh:
>
> > octave
> octave:1> test_vmesh
> test_vmesh :
> Display a surface.
> error: setfields: called with odd number of arguments
> octave:1>
>
> The bug is in main/vmrl/vrml_PointLight.m, lines 27-29
>
>  h = struct ();
>
>  if nargin, h = leval ("setfields", varargin); end
>
> "h" needs to be the first argument to "setfields". So "h" needs to be 
> added to the beginning of "varargin". The same bug may be in 
> "main/vrml/vrml_Background.m", line 34.
>
> I have an up-to-date (Mar 16, 2005) Debian unstable system on a PC.  I 
> have installed octave2.1 version 2.1.67-1.
>
>
>
> _______________________________________________
> Pkg-octave-devel mailing list
> Pkg-octave-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel
>