| 503 | } |
| 504 | |
| 505 | void SplineModel::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) |
| 506 | { |
| 507 | // Base |
| 508 | ModelInstanceActor::Deserialize(stream, modifier); |
| 509 | |
| 510 | DESERIALIZE_MEMBER(Quality, _quality); |
| 511 | DESERIALIZE_MEMBER(BoundsScale, _boundsScale); |
| 512 | DESERIALIZE_MEMBER(LODBias, _lodBias); |
| 513 | DESERIALIZE_MEMBER(ForcedLOD, _forcedLod); |
| 514 | DESERIALIZE_MEMBER(PreTransform, _preTransform); |
| 515 | DESERIALIZE(Model); |
| 516 | DESERIALIZE(DrawModes); |
| 517 | |
| 518 | Entries.DeserializeIfExists(stream, "Buffer", modifier); |
| 519 | |
| 520 | // [Deprecated on 07.02.2022, expires on 07.02.2024] |
| 521 | if (modifier->EngineBuild <= 6330) |
| 522 | { |
| 523 | MARK_CONTENT_DEPRECATED(); |
| 524 | DrawModes |= DrawPass::GlobalSDF; |
| 525 | } |
| 526 | // [Deprecated on 27.04.2022, expires on 27.04.2024] |
| 527 | if (modifier->EngineBuild <= 6331) |
| 528 | { |
| 529 | MARK_CONTENT_DEPRECATED(); |
| 530 | DrawModes |= DrawPass::GlobalSurfaceAtlas; |
| 531 | } |
| 532 | } |
| 533 | |
| 534 | void SplineModel::OnActiveInTreeChanged() |
| 535 | { |
nothing calls this directly
no test coverage detected