Mercurial > octave-nkf
changeset 18679:ce144b2ab46c
Allow empty matrices as "vertexnormals" value (bug #42083).
* graphics.in.h (surface::properties::init): Put in add_constraint()
on "vertexnormals" property of empty matrix.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Thu, 10 Apr 2014 00:08:36 +0200 |
parents | 8c0646dd9e5a |
children | 2deed6538c72 |
files | libinterp/corefcn/graphics.in.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h Tue Apr 08 21:13:06 2014 -0700 +++ b/libinterp/corefcn/graphics.in.h Thu Apr 10 00:08:36 2014 +0200 @@ -4851,6 +4851,7 @@ alphadata.add_constraint ("uint8"); alphadata.add_constraint (dim_vector (-1, -1)); vertexnormals.add_constraint (dim_vector (-1, -1, 3)); + vertexnormals.add_constraint (dim_vector (0, 0)); } private: