Skip to content

Commit

Permalink
Added a more minimal test to avoid crash in #20677 but I dont think t…
Browse files Browse the repository at this point in the history
…his is the cause
  • Loading branch information
reduz committed Aug 24, 2018
1 parent c6e3394 commit cf21762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gles3/rasterizer_canvas_gles3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cf21762

Please sign in to comment.