Ah - it is a problem with my code. I am still trying to get my code
from a year ago to work correctly with the current API. It turns out
that my subclass of FancySSCell overides constructDisplay() and does so
in a way that obviously is no longer correct. I needed to override it
in order to use my own subclass of DisplayRendererJ3D, which I have
created in order to us my subclass of MouseBehaviorJ3D. Is there a
better way for me to do this (to use my own mouse beheavior)?
Otherwise, I will go ahead and fix my override of constructDisplay().
-john
Bill Hibbard wrote:
>
> Hi John,
>
> > When I switch a cell in the SpreadSheet from to 2D I get the
> > DisplayException: "ScalarMap cannot belong to two Displays." why is
> > that?
>
> I just imported a file (the images.nc example) and switched
> among all of its display modes (3D, 2D and J2D) without any
> Exception. Either there is something or special about your
> file, or have you modified any SpreadSheet classes? The
> Exception indicates that a ScalarMap is being re-used, when
> it should be replaced by a different, identical ScalarMap.
>
> Cheers,
> Bill
> ----------------------------------------------------------
> Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706
> hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738
> http://www.ssec.wisc.edu/~billh/vis.html
--
John Brecht Software Engineer
650-859-2325(voice) Center for Technology in Learning, SRI Int'l
650-859-3673(fax) 333 Ravenswood Avenue
john.brecht@xxxxxxx Menlo Park, CA 94025