# HG changeset patch # User Kai T. Ohlhus # Date 1644198377 -32400 # Node ID 25de51cb4123d0544d098383cdbb2921594ae590 # Parent a885bdb22374e3d2078ef1a1cdd9befdbfa2eceb fill3.m: Re-write call to __patch__ to match new function signature (bug #61782). * scripts/plot/draw/fill3.m: Re-write call to __patch__ to match new function with only one output. Noticed when running "demo fill3". Addition to cset 36d940c58c2e. diff -r a885bdb22374 -r 25de51cb4123 scripts/plot/draw/fill3.m --- a/scripts/plot/draw/fill3.m Sun Feb 06 15:47:43 2022 -0800 +++ b/scripts/plot/draw/fill3.m Mon Feb 07 10:46:17 2022 +0900 @@ -154,14 +154,9 @@ ## For Matlab compatibility, return 1 patch object for each column for j = 1 : columns (x) if (one_color) - [htmp, err] = __patch__ (hax, x(:,j), y(:,j), z(:,j), ... - cdata, opts{:}); + htmp = __patch__ (hax, x(:,j), y(:,j), z(:,j), cdata, opts{:}); else - [htmp, err] = __patch__ (hax, x(:,j), y(:,j), z(:,j), ... - cdata(:,j), opts{:}); - endif - if (err) - print_usage (); + htmp = __patch__ (hax, x(:,j), y(:,j), z(:,j), cdata(:,j), opts{:}); endif hlist(end+1, 1) = htmp; endfor