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.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user