| 1066 | } |
| 1067 | |
| 1068 | Expected<LoadedObject> loadSceneFromStp( const std::filesystem::path& path, const ProgressCallback& progressCb ) |
| 1069 | { |
| 1070 | return fromSceneStepFile( path, { .callback = ProgressCallback{ progressCb } } ).and_then( |
| 1071 | []( ObjectPtr && obj ) -> Expected<LoadedObject> { return LoadedObject{ .obj = std::move( obj ) }; } ); |
| 1072 | } |
| 1073 | |
| 1074 | MR_ADD_SCENE_LOADER( IOFilter( "STEP model (.step,.stp)", "*.step;*.stp" ), loadSceneFromStp ) |
| 1075 |
nothing calls this directly
no test coverage detected