diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-22 19:03:19 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-22 19:03:19 +0400 |
commit | 6fb9f5bd41d6f12a7a5de155258d63c33ae1aac6 (patch) | |
tree | 2fadbaa4b7f9a96c7832104651593aa55e441371 /source | |
parent | 75f1157b80fd6a724510dbbef45896cfd7dc33ec (diff) |
Fix #35051: when viewing a complex node setup in the material properties, the
properties were continuously redrawing, which slowed down everything else.
The problem was integer overflow, with a short only capable of storing values
up to 32767. Note that sockets are collapsed by default since the previous
release, and that's it's not very useful to edit such complex node setups in
the properties editor, it's mainly meant for simple setups or group nodes to
present just a few sockets.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index ceae4e28d1f..af4904864d9 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -102,7 +102,7 @@ typedef struct Panel { /* the part from uiBlock that needs saved in file */ char panelname[64], tabname[64]; /* defined as UI_MAX_NAME_STR */ char drawname[64]; /* panelname is identifier for restoring location */ - short ofsx, ofsy, sizex, sizey; + int ofsx, ofsy, sizex, sizey; short labelofs, pad; short flag, runtime_flag; short control; |