I18n: make the string holding light cache messages longer

The `light_cache_info` string holds information about the outcome of
Eevee light cache baking. It is currently 64 bits, which is enough to
hold all possible messages in English. However, some messages need to
be longer than this in other languages, so the holding string also
needs to be longer. From what I can tell, 128 bytes is plenty enough.

Pull Request: https://projects.blender.org/blender/blender/pulls/110028
This commit is contained in:
Damien Picard
2023-07-12 20:22:00 +02:00
committed by Gitea
parent ff0adf5b37
commit f9669d0a11

View File

@@ -1872,7 +1872,8 @@ typedef struct SceneEEVEE {
struct LightCache *light_cache DNA_DEPRECATED;
struct LightCache *light_cache_data;
char light_cache_info[64];
/* Need a 128 byte string for some translations of some messages. */
char light_cache_info[128];
float overscan;
float light_threshold;