diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-11-27 16:32:03 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-11-27 16:33:48 +0300 |
commit | 452028c77ccea3846c7e1104c50e682b9b957ecc (patch) | |
tree | a31de43ea94d5b275ef9022f884189dec82ec831 /source/blender/blenkernel/intern/gpencil.c | |
parent | e2d223461efeea4792defb254c692828266478d1 (diff) |
GPencil RNA API: "set_active" option for layer.new() and palette.new() is now true/enabled by default
To bring the API more into line with the UI (and the general expected behaviour of
Blender when it comes to adding stuff), newly created layers and palettes will be
made the active ones by default. It's possible to override this behaviour still
(e.g. in cases where you're auto-generating a large number of them), but otherwise,
this change will help prevent errors like T50123.
Diffstat (limited to 'source/blender/blenkernel/intern/gpencil.c')
0 files changed, 0 insertions, 0 deletions