GJA:

Thanks. I'll call you @ 8AM if there's a problem - like the floors are still
too tacky. Should be OK, though. Last coat goes on today, but it's raining
and humid - not good drying weather.

jp

> -----Original Message-----
> From: Mark Hood [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2003 5:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] setting capability bits for the viewing platform
> attached to the simple universe
>
>
> > Date:         Thu, 31 Jul 2003 11:07:32 -0400
> > From: "McCormick, Brian" <[EMAIL PROTECTED]>
> >
> > I'm getting the following error while running my code:
> >
> >    javax.media.j3d.RestrictedAccessException: Cannot modify
> capability bits
> > on a live or compiled object
> >
> > The code that is causing it is the second line shown below:
> >
> >   simpleUniverse = new SimpleUniverse(this);
> >
> >
> simpleUniverse.getViewingPlatform().setCapability(ViewingPlatf
> orm.ALLOW_LOCA
> > L_TO_VWORLD_READ);
> >
> > Does anybody know how to fix this or do a work around?  Thanks.
>
> SimpleUniverse creates a live ViewingPlatform.  Detach the
> ViewingPlatform (it's just an extension of BranchGroup) before setting
> capability bits, and then reattach.
>
> -- Mark Hood
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to