[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #30877] invalid value for array property "cdat
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #30877] invalid value for array property "cdata" when displaying surface |
Date: |
Sun, 29 Aug 2010 14:26:06 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100720 Iceweasel/3.5.11 (like Firefox/3.5.11) |
Follow-up Comment #3, bug #30877 (project octave):
Yes, any function that tries to set the cdata property of the surface
graphics object will be subject to the constraints that it can presently be
only double or uint8 data. The fix is simple, just add additional lines like
alphadata.add_constraint ("single");
cdata.add_constraint ("single");
in the surface::properties::init function in src/graphics.h.in in the Octave
sources and recompile.
But before doing that, I'd like to understand the reason for the current
limitation to double and uint8, and whether using single can cause some other
problems elsewhere. So far, I haven't seen any response to my question about
this on the maintainers list.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30877>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/