This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender
Campbell Barton 7f38872533 RNA: de-duplicate enums in generated source
Reuse existing enums instead of expanding them since it bloats the binary.

The icons enum for example contains over 900 items and was being
expanded 17 times (once for each function that takes an icon argument).
Similar with the event type enum which contains over 200 items and was
duplicated 7 times.

makesrna.c now matches enum definitions from declarations in
RNA_enum_items.h, using their identifiers when found.

The overall space saving on my system is 776kb
(tested with a stripped release build).

Reviewed By: brecht

Ref D12245
2021-08-18 00:23:50 +10:00
..
2021-03-29 19:11:17 -06:00
2021-08-17 17:45:57 +10:00
2021-08-17 17:45:57 +10:00
2021-08-12 14:34:43 +10:00
2021-08-15 20:08:17 -03:00
2021-08-17 11:12:59 +02:00
2021-08-17 17:45:57 +10:00
2021-08-17 14:46:46 +10:00
2021-08-06 14:24:16 +10:00
2021-08-16 23:46:28 +10:00
2021-08-02 15:22:54 +10:00
2021-08-17 17:45:57 +10:00