From bug-request at octave dot org Tue Mar 22 22:07:53 2005 Subject: Re: test_vmesh raises setfields error From: Paul Kienzle To: "Edward C. Jones" Cc: bug at octave dot org Date: Tue, 22 Mar 2005 23:15:27 -0500 On Mar 16, 2005, at 11:43 PM, Edward C. Jones wrote: > Edward C. Jones wrote: >> I have an up-to-date (Mar 14, 2005) Dedian unstable system on a PC. I >> have installed octave2.1, version 2.1.67-1, octave-forge, version >> 2004.11.16-6, and the octave-forge source code >> (octave2.1_2.1.67.orig.tar.gz) without the Debian diff. >> >> Go to /.../octave-forge-2004.11.16/main/vrml. >> Enter octave >> >> octave:1> test_vmesh >> test_vmesh : >> Display a surface. >> error: setfields: called with odd number of arguments >> octave:1> >> >> This looks like a bug. Also no traceback was printed. > > The bug is in "main/vrml/vrml_PointLight.m" at Line 29: > 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 is in > "main/vrml/vrml_Background.m". This should be fixed now in the octave-forge CVS. - Paul ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------