MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / updateMeshFlags

Method updateMeshFlags

Engine/source/ts/tsMesh.cpp:3340–3352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3338}
3339
3340void TSMesh::updateMeshFlags()
3341{
3342 // Make sure flags are correct
3343 if (mColors.empty())
3344 clearFlags(HasColor);
3345 else
3346 setFlags(HasColor);
3347
3348 if (mTverts2.empty())
3349 clearFlags(HasTVert2);
3350 else
3351 setFlags(HasTVert2);
3352}
3353
3354void TSSkinMesh::clearEditable()
3355{

Callers 1

constructTSMeshMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected