Added a more minimal test to avoid crash in #20677 but I dont think this is the cause
This commit is contained in:
parent
c6e3394d55
commit
cf217627c7
1 changed files with 2 additions and 2 deletions
|
@ -1173,8 +1173,8 @@ void RasterizerCanvasGLES3::canvas_render_items(Item *p_item_list, int p_z, cons
|
|||
|
||||
{
|
||||
//skeleton handling
|
||||
if (ci->skeleton.is_valid()) {
|
||||
skeleton = storage->skeleton_owner.getornull(ci->skeleton);
|
||||
if (ci->skeleton.is_valid() && storage->skeleton_owner.owns(ci->skeleton)) {
|
||||
skeleton = storage->skeleton_owner.get(ci->skeleton);
|
||||
if (!skeleton->use_2d) {
|
||||
skeleton = NULL;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue