Blender Git Statistics -> Developers -> puklicki
Konrad Puklicki (puklicki)
Total Commits : 1
Master Commits : 1
Branch Commits : 0
First Commit : May 27, 2020
Latest Commit : May 27, 2020
Commits by Month
Date | Number of Commits | |
---|---|---|
May, 2020 | 1 |
Favourite Files
Filename | Total Edits |
---|---|
wm_cursors.c | 1 |
File Changes
Action | Total | Per Commit |
---|---|---|
Modified | 1 | 1.0 |
Code Changes
Action | Total | Per Commit |
---|---|---|
Lines Added | 10 | 10.0 |
Lines Removed | 6 | 6.0 |
Latest commits
May 27, 2020, 10:06 (GMT) |
UI: Skip unnecessary cursor setting Currently, in sculpting, weight paint and vertex paint modes every cursor movement triggers redraw of a brush. During that redraw, native cursor is set. Under the hood, setting the cursor causes freeing of previous cursor and allocating a new one. In most cases, in previously mentioned modes, recreating cursor is unnecessary since cursor stays the same. This patch adds a check which skips cursor change if requested cursor is already set. The check could be added in pain_cursor.c, but I felt adding it inside WM_cursor_set function would hopefully skip more unnecessary cursor reallocations. Differential Revision: https://developer.blender.org/D7828 Reviewed by: Julian Eisel |
MiikaHweb - Blender Git Statistics v1.06