I wrote

> Thomas wrote:
> 
> > Am 2012-11-05 18:30, schrieb Vivian Meazza:
> > > I'm using the Nasal API - it used to all work before today's update.
> > > Can't really see what to change
> >
> > Are you using canvas.setColorBackground(r, g, b, a) I have this:
> 
>               m.canvas.addPlacement(placement);
>               m.canvas.setColorBackground(0.36, 1, 0.3, 0.02);
> 
> which is a direct copy from
> 
>               http://wiki.flightgear.org/Canvas_HUD
> 
> > and is there a function
> > setColorBackground: func () { me.texture.getNode('background', 
> > 1).setValue(_getColor(arg)); me; }
> 
> No - there isn't one in
> 
>               http://wiki.flightgear.org/Canvas_HUD
> 
> > in your Nasal/canvas/api.nas?
> >
> > Are there 
> > /canvas/by-index[i]/color-background/[red,green,blue,alpha]
> > nodes in your property tree or just a single 
> > /canvas/by-index[i]/background string property per canvas?
> 
> And no other references to color-background
> 
OK - problem solved - I needed another update to fgdata. I must have just
missed the update to api.nas when I updated everything yesterday.

Vivian



------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to