diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2018-02-24 15:58:17 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2018-02-24 15:58:17 +0700 |
commit | 38865345d9d26ae679795e1afdac43a072c1b463 (patch) | |
tree | 6cea1fe343741bceb9fffb61291a11266b6c5c05 /drivers | |
parent | bd3b958a2545c3f4dd4afa2e69b690a3c6aa78fc (diff) |
Particles: fix corrupted scene when saved after convert (2nd try)
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles3/rasterizer_storage_gles3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp index a287dca1ed..2b8a0230a6 100644 --- a/drivers/gles3/rasterizer_storage_gles3.cpp +++ b/drivers/gles3/rasterizer_storage_gles3.cpp @@ -1911,7 +1911,7 @@ void RasterizerStorageGLES3::material_set_param(RID p_material, const StringName Variant RasterizerStorageGLES3::material_get_param(RID p_material, const StringName &p_param) const { const Material *material = material_owner.get(p_material); - ERR_FAIL_COND_V(!material, RID()); + ERR_FAIL_COND_V(!material, Variant()); if (material->params.has(p_param)) return material->params[p_param]; |