diff options
author | Dalai Felinto <dalai@blender.org> | 2020-08-26 12:26:19 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-08-26 12:34:12 +0300 |
commit | 70d48255aeae66c9ce62b0458cf7519adea45cf2 (patch) | |
tree | d3456f031542529093ec253140e3978dffbfeb13 /source/blender/editors/space_buttons | |
parent | 8ddf8cfa6f3af7e59396986b81e49bd013bf9336 (diff) |
Fix T79992: Error calling context.copy() in Properties Editor
This was an oversight in rB83e3d25bcae3.
Basically we still have the "hair" and "point_cloud" entries for the
context. However they were ifdef'ed.
Note this would mostly happen in 2.90 since we always build without hair
and particles there.
Differential Revision: https://developer.blender.org/D8712
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 044fadb9a50..e3e41af02cf 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -795,8 +795,12 @@ const char *buttons_context_dir[] = { "line_style", "collection", "gpencil", +#ifdef WITH_HAIR_NODES "hair", +#endif +#ifdef WITH_PARTICLE_NODES "pointcloud", +#endif "volume", NULL, }; |