Game Development Community

R1-Adding a GuiCanvas Cores T2D.exe

by Rodney Rindels - Torqued · in Torque Game Builder · 06/02/2006 (2:18 pm) · 2 replies

To Reproduce:

Start any project

open GUI editor

Open mainScreenGUI or even create a new GUI

try to add a GuiCanvas... BOOM, thanks for playing!


Edit:

This also happens with GuiEffectCanvas


GuiInputControl - doesn't core, but locks up.

#1
06/02/2006 (10:12 pm)
Rodney,

Thanks for this report, this is because the Canvas class is intended to be a single instance class currently. I added a check to make sure that the editor will not allow you to create objects of these class types as they shouldn't be used anyhow from the editor.

Best Regards,
-Justin
#2
06/02/2006 (10:14 pm)
Yeah, I was just going through and throwing every "control" on the gui looking for trouble spots.. I wasn't intending on using it.. My own method of QA I guess :-)