| 377 | } |
| 378 | |
| 379 | Maybe<PolyF> NetworkedAnimator::partPoly(String const& partName, String const& propertyName) const { |
| 380 | auto const& part = m_animatedParts.activePart(partName); |
| 381 | auto property = part.properties.value(propertyName, {}); |
| 382 | if (!property) |
| 383 | return {}; |
| 384 | |
| 385 | PolyF poly = jsonToPolyF(property); |
| 386 | poly.transform(finalPartTransformation(partName)); |
| 387 | return poly; |
| 388 | } |
| 389 | |
| 390 | void NetworkedAnimator::setGlobalTag(String tagName, String tagValue) { |
| 391 | m_globalTags.set(std::move(tagName), std::move(tagValue)); |
no test coverage detected