----------------------------------------------------------
| 1790 | |
| 1791 | //---------------------------------------------------------- |
| 1792 | bool |
| 1793 | SceneObject::attachChildAt(SceneObject *subObject, MatrixF atThisOffset, S32 node) |
| 1794 | { |
| 1795 | AssertFatal(subObject, "attaching a null subObject"); |
| 1796 | AssertFatal(!isChildOf(subObject), "cyclic attachChild()"); |
| 1797 | bool b = subObject->attachToParent(this, &atThisOffset, node); |
| 1798 | if (!b) |
| 1799 | return false; |
| 1800 | |
| 1801 | return true; |
| 1802 | } |
| 1803 | |
| 1804 | //---------------------------------------------------------- |
| 1805 | bool |
no test coverage detected