Fixed dust color not getting mixed with 50 percent white, as intended, when sun color was set manually.
This commit is contained in:
parent
4214d58d63
commit
6edf9d1e2f
@ -7760,7 +7760,7 @@ static void VerifyDesc(NSString *key, id desc)
|
|||||||
}
|
}
|
||||||
for (i = n_entities - 1; i > 0; i--)
|
for (i = n_entities - 1; i > 0; i--)
|
||||||
if ((sortedEntities[i]) && ([sortedEntities[i] isKindOfClass:[DustEntity class]]))
|
if ((sortedEntities[i]) && ([sortedEntities[i] isKindOfClass:[DustEntity class]]))
|
||||||
[(DustEntity*)sortedEntities[i] setDustColor:color];
|
[(DustEntity*)sortedEntities[i] setDustColor:[color blendedColorWithFraction:0.5 ofColor:[OOColor whiteColor]]];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user