since some recent changes, the popup canvas dialogs in the 744 (and 777) no longer work. I get the following error when clicking the ND in the 3D cockpit:
- Code: Select all
Not a canvas.Canvas
Tthe error is coming from the second line of this:
- Code: Select all
var dlg = canvas.Window.new([400, 400], "dialog");
dlg.setCanvas( nd_display[pilot] );
See Aircraft/747-400/Models/Cockpit/Instruments/ND/ND.nas for the full code. The ND itself shows up fine, so the Canvas is correctly generated.
Cheers,
Gijs