Merge pull request #45987 from bruvzg/fix_uninit_material_features

Fix uninitialized `BaseMaterial3D::features` variable.
This commit is contained in:
Rémi Verschelde 2021-02-14 10:46:27 +01:00 committed by GitHub
commit db9ad80b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ private:
AlphaAntiAliasing alpha_antialiasing_mode = ALPHA_ANTIALIASING_OFF;
bool features[FEATURE_MAX];
bool features[FEATURE_MAX] = {};
Ref<Texture2D> textures[TEXTURE_MAX];