setDefaultDialogGeom

Hello,

Up until today I have been using a build of Panda3D from November 2014. I just built a copy direct from source today to test out, and noticed that setting the default dialog geom using the following:

DirectGuiGlobals.setDefaultDialogGeom(loader.loadModel('models/gui/dialog_box_gui'))

Does not change anything, it did before updating Panda3D, now it’s just giving me the default grey box. Any way to fix this? Thanks.

You should now set it using image=yourModel in the DirectDialog constructor.