Fix #35051: when viewing a complex node setup in the material properties, the
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 22 Apr 2013 15:03:19 +0000 (15:03 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 22 Apr 2013 15:03:19 +0000 (15:03 +0000)
commit6fb9f5bd41d6f12a7a5de155258d63c33ae1aac6
tree2fadbaa4b7f9a96c7832104651593aa55e441371
parent75f1157b80fd6a724510dbbef45896cfd7dc33ec
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.
source/blender/makesdna/DNA_screen_types.h