Hi Sean,

I supposed I can't, but that was the most quickest fix for me, since
the GeoMason extension rely on this constructor. The GeoMason code
should be probably updated. And to your question, yes I can use the
uncommented constructor.

Best regards,

---------- Forwarded message ----------
From: Sean Luke <[log in to unmask]>
Date: 2011/7/31
Subject: Re: inspecting sim.util.geo.MasonGeometry.userData in GeoMason
To: [log in to unmask]

Thanks Stefan.  We'll check on the fix.

However, you can't uncomment that constructor -- it's going to be
deleted in upcoming MASON versions (and with good reason -- it doesn't
pass in the field portrayal, which is becoming increasingly crucial
for all DrawInfo2D instances).  So the question is, can you use one of
the uncommented constructors instead?


On Jul 31, 2011, at 4:45 AM, Stefan Dlugolinsky wrote:

> Hello all,
> it's not possible to inspect sim.util.geo.MasonGeometry.userData in
> GeoMason. I'm sending a fix, which enables it.
> In addition, I had to uncomment the constructor "public
> DrawInfo2D(Rectangle2D.Double draw, Rectangle2D.Double clip)" in
> mason/sim/portrayal/, but maybe this should be fixed in
> GeoMason class sim.portrayal.geo.GeomVectorFieldPortrayal (line 254,
> revision 489).
> Best regards,
> Stefan