Mercurial > octave
changeset 22301:8192c26fcda4
isosurface.m: Use camlight for default lighting for Matlab compatibility.
* isosurface.m: Switch from light() to camlight().
author | Rik <rik@octave.org> |
---|---|
date | Mon, 15 Aug 2016 10:56:47 -0700 |
parents | aa5360a5cd3b |
children | 1c4cd12987f5 |
files | scripts/plot/draw/isosurface.m |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/draw/isosurface.m Mon Aug 15 12:05:15 2016 -0400 +++ b/scripts/plot/draw/isosurface.m Mon Aug 15 10:56:47 2016 -0700 @@ -198,8 +198,7 @@ isonormals (x, y, z, v, pa); lights = findobj (hax, "Type", "light"); if (isempty (lights)) - ## FIXME: Matlab seems to use camlight (patch #9014) here - light (); + camlight (); endif case 1