* changes:
[Tizen] Fix to do not try to bind texture when there is no active texture in shader code
[Tizen] Support int uniform in shader
[Tizen] Enabled sampler arrays in shader
state[State::VISIBLE] = true;
state[State::ACTIVE] = visible;
}
- else
+ else if (GetParent())
{
auto parentState = GetParent()->GetStates();
state[State::SHOWING] = parentState[State::SHOWING];
state[State::VISIBLE] = parentState[State::VISIBLE];
}
+ else
+ {
+ state[State::SHOWING] = false;
+ state[State::VISIBLE] = false;
+ }
return state;
}