diff options
author | Falk David <filedescriptor> | 2022-04-28 13:37:10 +0300 |
---|---|---|
committer | Falk David <falkdavid@gmx.de> | 2022-04-28 13:38:28 +0300 |
commit | 16fe767d0090f3ff2b2c45c63cb4a84805991f3a (patch) | |
tree | 2a43c970efb289755c5c3ad84260582eef5fb236 /source/blender/editors/transform | |
parent | e8102aea13f510daa114eadee754803c380736a9 (diff) |
GPencil: Fix offset modifier performance regression
When using an offset modifier on a grease pencil object, the performance
could be impacted due to the randomize option introduced by rB6a2bc40e0131.
Even if the option was not used (offset, rotation, scale set to zero), the modifier
would still compute the random transformation matrix.
The patch checks if the randomization is used and only then caluclates the matrix.
Reviewed By: #grease_pencil, antoniov
Differential Revision: https://developer.blender.org/D14553
Diffstat (limited to 'source/blender/editors/transform')
0 files changed, 0 insertions, 0 deletions