Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-07-19 18:30:10 +0300
committerHans Goudey <h.goudey@me.com>2022-07-19 18:30:19 +0300
commit35b4e3a3501c9c797f2269421bc778e949fb46af (patch)
tree0f11dd7841601c1a50bf9636c8d3a26bf8bd7cab /release/scripts/startup/bl_ui/space_view3d.py
parentc771dd5e9c85335aa5e4cf60cfa61bc286c26229 (diff)
RNA: Don't allocate empty char pointer properties
Instead of allocating a single 0 char, set the `char *` DNA pointer to null. This avoids the overhead of allocating and copying single-bytes. rBeed45b655c9f didn't do this for safety reasons, but I checked the existing uses of this behavior in DNA/RNA. Out of 43 total `char *` members, this change only affects 7 recently added properties. For a complete list, see the patch description. Differential Revision: https://developer.blender.org/D14779
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
0 files changed, 0 insertions, 0 deletions