mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
avoid error on setting skeleton from transform changed
This commit is contained in:
parent
2de70698ae
commit
c595aff4a3
@ -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 New Issue
Block a user