| 1735 | } |
| 1736 | |
| 1737 | Be::Result<std::string> TriGrannyRes::CreateGeometryRes( TriGeometryRes** result ) |
| 1738 | { |
| 1739 | TriGeometryResPtr p; |
| 1740 | p.CreateInstance(); |
| 1741 | |
| 1742 | if( !p ) |
| 1743 | { |
| 1744 | return Be::Result<std::string>( "Couldn't create an instance of TriGeometryRes" ); |
| 1745 | } |
| 1746 | |
| 1747 | p->PrepareFromGrannyRes( this ); |
| 1748 | |
| 1749 | *result = p.Detach(); |
| 1750 | |
| 1751 | return Be::Result<std::string>(); |
| 1752 | } |
| 1753 | |
| 1754 | Be::Result<std::string> TriGrannyRes::BakeBlendshapeFromScript( unsigned int meshIx, const std::vector<float>& weights, TriGeometryRes* geom ) |
| 1755 | { |
nothing calls this directly
no test coverage detected