Better use a node that is very clearly not used by other services
(e.g. animations). The data class doesn't mind.
This commit is contained in:
parent
b62f241051
commit
bd1f192dc4
@ -339,7 +339,7 @@ sgLoad3DModel( const string &fg_root, const string &path,
|
||||
}
|
||||
|
||||
if (data) {
|
||||
model->setUserData(data);
|
||||
alignmainmodel->setUserData(data);
|
||||
data->modelLoaded(path, &props, model);
|
||||
}
|
||||
// Load animations
|
||||
|
Loading…
Reference in New Issue
Block a user