| 333 | } |
| 334 | |
| 335 | void CookingData::StepProgress(const String& info, const float stepProgress) const |
| 336 | { |
| 337 | const float singleStepProgress = 1.0f / (StepsCount + 1); |
| 338 | const float totalProgress = (CurrentStepIndex + stepProgress) * singleStepProgress; |
| 339 | ReportProgress(info, totalProgress); |
| 340 | } |
| 341 | |
| 342 | void CookingData::AddRootAsset(const Guid& id) |
| 343 | { |