80 cxIteratorNext(iter); |
80 cxIteratorNext(iter); |
81 |
81 |
82 // update the children and add them to the render groups |
82 // update the children and add them to the render groups |
83 cx_foreach(AscSceneNode*, node, iter) { |
83 cx_foreach(AscSceneNode*, node, iter) { |
84 node->depth = iter.depth; |
84 node->depth = iter.depth; |
|
85 |
|
86 // skip hidden nodes (and all their children) |
|
87 if (node->hidden) { |
|
88 cxTreeVisitorContinue(iter); |
|
89 } |
85 |
90 |
86 // execute behaviors, first |
91 // execute behaviors, first |
87 if (node->behaviors != NULL) { |
92 if (node->behaviors != NULL) { |
88 CxIterator behavior_iter = cxListIterator(node->behaviors); |
93 CxIterator behavior_iter = cxListIterator(node->behaviors); |
89 cx_foreach(asc_scene_update_func, behavior, behavior_iter) { |
94 cx_foreach(asc_scene_update_func, behavior, behavior_iter) { |