mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Base gradient size edition works again on Elements enter domain event
This commit is contained in:
parent
92d5a0c552
commit
358373aeac
1 changed files with 0 additions and 3 deletions
|
@ -645,9 +645,6 @@ bool FadeJob::update(const Config& config, const render::ScenePointer& scene, re
|
|||
{
|
||||
transition.threshold = computeElementEnterRatio(transition.time, eventDuration, timing);
|
||||
transition.baseOffset = transition.noiseOffset;
|
||||
transition.baseInvSize.x = 1.f / dimensions.x;
|
||||
transition.baseInvSize.y = 1.f / dimensions.y;
|
||||
transition.baseInvSize.z = 1.f / dimensions.z;
|
||||
transition.isFinished += (transition.threshold >= 1.f) & 1;
|
||||
if (transition.eventType == render::Transition::ELEMENT_ENTER_DOMAIN) {
|
||||
transition.threshold = 1.f - transition.threshold;
|
||||
|
|
Loading…
Reference in a new issue