Added support for event callbacks

This commit is contained in:
Robert Osfield
2005-03-07 14:16:15 +00:00
parent 238341b0da
commit c59b28ac3f
2 changed files with 35 additions and 0 deletions

View File

@@ -130,6 +130,11 @@ bool Drawable_writeLocalData(const Object& obj, Output& fw)
fw.writeObject(*drawable.getUpdateCallback());
}
if (drawable.getEventCallback())
{
fw.writeObject(*drawable.getEventCallback());
}
if (drawable.getCullCallback())
{
fw.writeObject(*drawable.getCullCallback());