diff src/graphics.cc @ 9311:868fbeb2e365

allow ranges and other matrices in set
author Jaroslav Hajek <highegg@gmail.com>
date Sun, 07 Jun 2009 08:59:08 +0200
parents 0ae2b6617005
children c539ec5726e7
line wrap: on
line diff
--- a/src/graphics.cc	Sun Jun 07 08:15:31 2009 +0200
+++ b/src/graphics.cc	Sun Jun 07 08:59:08 2009 +0200
@@ -709,7 +709,7 @@
 	error ("invalid value for color property \"%s\"",
            get_name ().c_str ());
     }
-  else if (val.is_real_matrix ())
+  else if (val.is_numeric_type ())
     {
       Matrix m = val.matrix_value ();