| 290 | #endif |
| 291 | |
| 292 | void Scene::Serialize(SerializeStream& stream, const void* otherObj) |
| 293 | { |
| 294 | // Base |
| 295 | Actor::Serialize(stream, otherObj); |
| 296 | |
| 297 | SERIALIZE_GET_OTHER_OBJ(Scene); |
| 298 | |
| 299 | LightmapsData.SaveLightmaps(Info.Lightmaps); |
| 300 | Info.Serialize(stream, other ? &other->Info : nullptr); |
| 301 | |
| 302 | if (CSGData.HasData()) |
| 303 | { |
| 304 | stream.JKEY("CSG"); |
| 305 | stream.Object(&CSGData, other ? &other->CSGData : nullptr); |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | void Scene::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) |
| 310 | { |
nothing calls this directly
no test coverage detected