We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82a43d9 commit 45d8eb9Copy full SHA for 45d8eb9
src/ofbx.cpp
@@ -1517,13 +1517,6 @@ struct ClusterImpl : Cluster
1517
bool postprocess() {
1518
assert(skin);
1519
1520
- GeometryDataImpl* geom = static_cast<GeometryDataImpl*>(static_cast<GeometryImpl*>(skin->resolveObjectLinkReverse(Object::Type::GEOMETRY)));
1521
- if (!geom) {
1522
- MeshImpl* mesh = (MeshImpl*)skin->resolveObjectLinkReverse(Object::Type::MESH);
1523
- if(!mesh) return false;
1524
- geom = &mesh->geometry_data;
1525
- }
1526
-
1527
const Element* indexes = findChild((const Element&)element, "Indexes");
1528
if (indexes && indexes->first_property)
1529
{
0 commit comments