diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-07-03 10:55:50 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-07-03 10:56:31 -0300 |
commit | e179bf0726868fbf2c6216a6c6a715c4a2f99419 (patch) | |
tree | ca4c02c36e57147ad1a2e298503b48e21d6e1f47 /scene | |
parent | 74369229de7f43ce4a0e0a102e5b3bf3c6e3a33a (diff) |
Ensure, if a texture meant for a normal map is imported and size limit exists, that it's renormalized after resize.
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/mesh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/mesh.h b/scene/resources/mesh.h index e8b7ecaf9a..a3fb068569 100644 --- a/scene/resources/mesh.h +++ b/scene/resources/mesh.h @@ -100,7 +100,7 @@ public: ARRAY_FLAG_USE_16_BIT_BONES = ARRAY_COMPRESS_INDEX << 2, ARRAY_FLAG_USE_DYNAMIC_UPDATE = ARRAY_COMPRESS_INDEX << 3, - ARRAY_COMPRESS_DEFAULT = ARRAY_COMPRESS_VERTEX | ARRAY_COMPRESS_NORMAL | ARRAY_COMPRESS_TANGENT | ARRAY_COMPRESS_COLOR | ARRAY_COMPRESS_TEX_UV | ARRAY_COMPRESS_TEX_UV2 | ARRAY_COMPRESS_WEIGHTS + ARRAY_COMPRESS_DEFAULT = ARRAY_COMPRESS_NORMAL | ARRAY_COMPRESS_TANGENT | ARRAY_COMPRESS_COLOR | ARRAY_COMPRESS_TEX_UV | ARRAY_COMPRESS_TEX_UV2 | ARRAY_COMPRESS_WEIGHTS }; |