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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-22 19:03:19 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-22 19:03:19 +0400
commit6fb9f5bd41d6f12a7a5de155258d63c33ae1aac6 (patch)
tree2fadbaa4b7f9a96c7832104651593aa55e441371 /source/blender/makesdna
parent75f1157b80fd6a724510dbbef45896cfd7dc33ec (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/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h2
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;