mirror of https://github.com/axmolengine/axmol.git
This commit is contained in:
parent
935b0f006b
commit
93f026f8e6
|
@ -257,13 +257,15 @@ void Bone::setBlendFunc(const BlendFunc& blendFunc)
|
||||||
|
|
||||||
void Bone::updateDisplayedColor(const Color3B &parentColor)
|
void Bone::updateDisplayedColor(const Color3B &parentColor)
|
||||||
{
|
{
|
||||||
_realColor = Color3B(255, 255, 255);
|
// remove comment mark for next line when use in studio
|
||||||
|
// _realColor = Color3B(255, 255, 255);
|
||||||
Node::updateDisplayedColor(parentColor);
|
Node::updateDisplayedColor(parentColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Bone::updateDisplayedOpacity(GLubyte parentOpacity)
|
void Bone::updateDisplayedOpacity(GLubyte parentOpacity)
|
||||||
{
|
{
|
||||||
_realOpacity = 255;
|
// remove comment mark for next line when use in studio
|
||||||
|
// _realOpacity = 255;
|
||||||
Node::updateDisplayedOpacity(parentOpacity);
|
Node::updateDisplayedOpacity(parentOpacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue