11bf3dd71e7826b8a4b6217c1e361a76791f4895
Text strip had a fixed size buffer of 512 bytes to hold the displayed text (this can be much fewer actual characters with non-English languages). Switch to dynamically allocated buffer instead, which can hold longer text. In order to support forward/backward compatibility, TextVars continues to hold the 512 byte buffer in memory. When writing out the .blend file, dynamic text buffer is copied into the fixed one. If it is longer, the text is truncated, so opening the .blend file in an older version will contain the first 512 bytes of the longer text. When reading existing files without the dynamic text buffer, it is created from the static buffer. Conceptually this approach is similar to constraints name length increase PR !137310. The text strip editing code was switched to operate on the dynamic buffer, resizing it as needed. seq::CharInfo internal struct was switched to be more independent of the actual buffer address; now each char entry just stores an index into the buffer instead of direct pointer (side effect: makes the struct smaller as well). Pull Request: https://projects.blender.org/blender/blender/pulls/140733
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
