Merge pull request #45987 from bruvzg/fix_uninit_material_features
Fix uninitialized `BaseMaterial3D::features` variable.
This commit is contained in:
commit
db9ad80b63
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue