mirror of https://github.com/axmolengine/axmol.git
Merge pull request #7825 from 2youyouo2/v3
remove cascade color for CorlorFrame
This commit is contained in:
commit
74fba21fc0
|
@ -516,9 +516,6 @@ void ColorFrame::onEnter(Frame *nextFrame)
|
|||
_betweenGreen = color.g - _color.g;
|
||||
_betweenBlue = color.b - _color.b;
|
||||
}
|
||||
|
||||
_node->setCascadeColorEnabled(true);
|
||||
_node->setCascadeOpacityEnabled(true);
|
||||
}
|
||||
|
||||
void ColorFrame::apply(float percent)
|
||||
|
|
Loading…
Reference in New Issue