From: <car...@us...> - 2012-04-16 09:40:40
|
Revision: 10239 http://octave.svn.sourceforge.net/octave/?rev=10239&view=rev Author: carandraug Date: 2012-04-16 09:40:34 +0000 (Mon, 16 Apr 2012) Log Message: ----------- vrml_faces: fix bug introduced back on r7440 (no release had been made with this bug) Revision Links: -------------- http://octave.svn.sourceforge.net/octave/?rev=7440&view=rev Modified Paths: -------------- trunk/octave-forge/main/vrml/inst/vrml_faces.m Modified: trunk/octave-forge/main/vrml/inst/vrml_faces.m =================================================================== --- trunk/octave-forge/main/vrml/inst/vrml_faces.m 2012-04-16 09:35:51 UTC (rev 10238) +++ trunk/octave-forge/main/vrml/inst/vrml_faces.m 2012-04-16 09:40:34 UTC (rev 10239) @@ -89,10 +89,10 @@ opt0 = " smooth convex " ; verbose = 0 ; - nargin -= 2 ; +# nargin -= 2 ; i = 1; - while nargin>=i + while (nargin -2) >= i tmp = varargin{i++}; if ! ischar(tmp) , error ("vrml_faces : Non-string option : \n") ; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |