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>2021-12-10 22:52:02 +0300
committerHans Goudey <h.goudey@me.com>2021-12-10 22:52:02 +0300
commit7c2fb00e661e080f0d0c85df60f1dff481c91d5e (patch)
tree35c85744e69e69fc5a3f4a0ed1535780151b25b8 /source/blender/makesdna
parent5a3d5f751f238e568da2bd2b3e3b08dc9e79e3a1 (diff)
Cleanup: Remove unnecessary runtime rectangle from nodes in DNA
I assume this `butr` rectangle was used more in the past, but currently its value is set and used less than 10 lines apart, so it's trivial to remove 16 bytes from every node. The other rectangles are also runtime data and could be removed, but they are more difficult.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_node_types.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index dfae303ccfb..b0ff10ebd1d 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -304,8 +304,6 @@ typedef struct bNode {
/** Entire boundbox (world-space). */
rctf totr;
- /** Optional buttons area. */
- rctf butr;
/** Optional preview area. */
rctf prvr;
/**