------------------------------------------------------------------------------------------------
| 68 | |
| 69 | // ------------------------------------------------------------------------------------------------ |
| 70 | void ScaleProcess::SetupProperties( const Importer* pImp ) { |
| 71 | // User scaling |
| 72 | mScale = pImp->GetPropertyFloat( AI_CONFIG_GLOBAL_SCALE_FACTOR_KEY, 1.0f ); |
| 73 | |
| 74 | // File scaling * Application Scaling |
| 75 | float importerScale = pImp->GetPropertyFloat( AI_CONFIG_APP_SCALE_KEY, 1.0f ); |
| 76 | |
| 77 | // apply scale to the scale |
| 78 | // helps prevent bugs with backward compatibility for anyone using normal scaling. |
| 79 | mScale *= importerScale; |
| 80 | } |
| 81 | |
| 82 | // ------------------------------------------------------------------------------------------------ |
| 83 | void ScaleProcess::Execute( aiScene* pScene ) { |
nothing calls this directly
no test coverage detected