| 876 | } |
| 877 | |
| 878 | void TSShapeLoader::setObjectMembership(TSShape::Sequence& seq, const AppSequence* appSeq) |
| 879 | { |
| 880 | seq.visMatters.clearAll(); // object visibility (size = objects.size()) |
| 881 | seq.frameMatters.clearAll(); // vert animation (morph) (size = objects.size()) |
| 882 | seq.matFrameMatters.clearAll(); // UV animation (size = objects.size()) |
| 883 | |
| 884 | for (S32 iObject = 0; iObject < shape->objects.size(); iObject++) |
| 885 | { |
| 886 | if (!appMeshes[shape->objects[iObject].startMeshIndex]) |
| 887 | continue; |
| 888 | |
| 889 | if (appMeshes[shape->objects[iObject].startMeshIndex]->animatesVis(appSeq)) |
| 890 | seq.visMatters.set(iObject); |
| 891 | // Morph and UV animation has been deprecated |
| 892 | //if (appMeshes[shape->objects[iObject].startMeshIndex]->animatesFrame(appSeq)) |
| 893 | //seq.frameMatters.set(iObject); |
| 894 | //if (appMeshes[shape->objects[iObject].startMeshIndex]->animatesMatFrame(appSeq)) |
| 895 | //seq.matFrameMatters.set(iObject); |
| 896 | } |
| 897 | } |
| 898 | |
| 899 | void TSShapeLoader::clearNodeTransformCache() |
| 900 | { |
nothing calls this directly
no test coverage detected