Merge pull request #49543 from greatmomo/SkeletonModification_bugfix

This commit is contained in:
Rémi Verschelde 2021-06-13 14:34:11 +02:00 committed by GitHub
commit aa51911c69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,7 +216,9 @@ void SkeletonModification2D::set_editor_draw_gizmo(bool p_draw_gizmo) {
editor_draw_gizmo = p_draw_gizmo;
#ifdef TOOLS_ENABLED
if (is_setup) {
stack->set_editor_gizmos_dirty(true);
if (stack) {
stack->set_editor_gizmos_dirty(true);
}
}
#endif // TOOLS_ENABLED
}