avoid error on setting skeleton from transform changed
This commit is contained in:
parent
2de70698ae
commit
c595aff4a3
1 changed files with 3 additions and 0 deletions
|
@ -155,6 +155,9 @@ void Skeleton::_notification(int p_what) {
|
|||
} break;
|
||||
case NOTIFICATION_TRANSFORM_CHANGED: {
|
||||
|
||||
if (dirty)
|
||||
break; //will be eventually updated
|
||||
|
||||
//if moved, just update transforms
|
||||
VisualServer *vs = VisualServer::get_singleton();
|
||||
Bone *bonesptr = &bones[0];
|
||||
|
|
Loading…
Reference in a new issue