Remove superfluous check in IGUIElement::recalculateAbsolutePosition (found by cppcheck utility).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4421 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
6f3942e544
commit
d39f77f0b3
|
@ -841,7 +841,7 @@ protected:
|
|||
if (NoClip)
|
||||
{
|
||||
IGUIElement* p=this;
|
||||
while (p && p->Parent)
|
||||
while (p->Parent)
|
||||
p = p->Parent;
|
||||
parentAbsoluteClip = p->AbsoluteClippingRect;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue