diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-25 12:29:52 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-25 12:32:47 +0300 |
commit | f243390bd685bde392a7f8e132c445f14609f2a4 (patch) | |
tree | 8a5a7bc97a7fa7fc08cc23e4b42018cf8bda5afe /source/blender/editors/sculpt_paint/paint_image.c | |
parent | 03a80facfc78178632086179e36f1c67128d5c09 (diff) |
Cleanup: minor details in BKE paint code related to palettes.
* Always use BKE_id_new, unless you have a very good reason to use
lower-level code!
* Prefer to pass actual ID user pointer to functions like id_us_plus & co,
rather than 'floating' ID pointer, when possible. It makes it more clear
who is the user we increase count for!
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image.c')
0 files changed, 0 insertions, 0 deletions