fix: SceneNodeGetChildByTypeclass now returns NULL when nothing is found
This commit is contained in:
parent
cc475fc550
commit
7081e6fac9
|
@ -173,6 +173,7 @@ SceneNode *SceneNodeGetChildByTypeclass(SceneNode *self, char const *typeclass,
|
||||||
if(recurse)
|
if(recurse)
|
||||||
SceneNodeGetChildByTypeclass(*child, typeclass, recurse);
|
SceneNodeGetChildByTypeclass(*child, typeclass, recurse);
|
||||||
}
|
}
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
Scene *CreateScene(SceneNode *root) {
|
Scene *CreateScene(SceneNode *root) {
|
||||||
|
|
Loading…
Reference in a new issue