Crash fixes for material and animtree
This commit is contained in:
parent
c1bd768ca2
commit
031f763d4f
5 changed files with 23 additions and 8 deletions
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
void Material::set_next_pass(const Ref<Material> &p_pass) {
|
||||
|
||||
ERR_FAIL_COND(p_pass == this);
|
||||
ERR_FAIL_COND(p_pass.ptr() == this);
|
||||
|
||||
if (next_pass == p_pass)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue