Mercurial > hg > Members > kono > Cerium
changeset 849:1221a142640d
merge
author | tkaito |
---|---|
date | Sun, 06 Jun 2010 03:33:00 +0900 |
parents | df80613f1e1a (diff) 8c78d15ea999 (current diff) |
children | 0e5dcda89c8e |
files | |
diffstat | 3 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraph.cc Sat Jun 05 21:23:25 2010 +0900 +++ b/Renderer/Engine/SceneGraph.cc Sun Jun 06 03:33:00 2010 +0900 @@ -227,6 +227,8 @@ if (this->lastChild != NULL) { SceneGraphPtr last = this->lastChild; last->brother = child; + child->parent = this; + return child; } this->lastChild = child;