Small changes to respect coding rules

This commit is contained in:
Olivier Prat 2017-08-14 22:43:39 +02:00
parent 358373aeac
commit c88082301e

View file

@ -594,7 +594,7 @@ void FadeJob::run(const render::RenderContextPointer& renderContext, FadeJob::Ou
if (update(*jobConfig, scene, transaction, state, deltaTime)) {
hasTransaction = true;
}
if (isFirstItem && jobConfig->manualFade && state.threshold!=jobConfig->threshold) {
if (isFirstItem && jobConfig->manualFade && (state.threshold != jobConfig->threshold)) {
jobConfig->setProperty("threshold", state.threshold);
isFirstItem = false;
}