git-svn-id: svn://db.shs.com.ru/libs@665 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -161,7 +161,7 @@ Scene * loadScene(const QString & filepath) {
|
||||
ObjectBase * root = assimpObject(ais->mRootNode, meshes, light_by_name, out_lights);
|
||||
if (!root) return 0;
|
||||
|
||||
QList<ObjectBase*> rcl = root->children(true);
|
||||
ObjectBaseList rcl = root->children(true);
|
||||
foreach (ObjectBase * c, rcl) {
|
||||
foreach (Light * l, out_lights) {
|
||||
if (c->name() == (l->name() + ".Target")) {
|
||||
|
||||
Reference in New Issue
Block a user