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
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-05-18 10:38:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-05-18 10:38:54 +0300
commitb236653f8a4c0ae6a46369c6ff420d9f4a619808 (patch)
treebcd66929b1682ed358fb590641f0b919add2e72b /intern
parentdfb963c70df515213c452094c20c83720bc017ee (diff)
Fix error in grease pencil flip color operator
- Used try/except instead of a poll function. - The error case referenced a non-existent error handling module. Prefer poll functions over exception handling where possible, also having an operators logic in a try block isn't good practice as it can hide more serious errors in the code. Note that duplicate pencil settings access should be moved into a utility function. This can be part of a separate cleanup.
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions