# HG changeset patch # User Pantxo Diribarne # Date 1397081316 -7200 # Node ID ce144b2ab46c2567fe34849521a86c14da1e9fd7 # Parent 8c0646dd9e5a0cf19b2fee0c2ca4224a8b730b29 Allow empty matrices as "vertexnormals" value (bug #42083). * graphics.in.h (surface::properties::init): Put in add_constraint() on "vertexnormals" property of empty matrix. diff -r 8c0646dd9e5a -r ce144b2ab46c libinterp/corefcn/graphics.in.h --- 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: