diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-31 07:54:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-31 07:54:37 +0300 |
commit | 293f4d88dac4919371e3e9c375f7c4cde803b078 (patch) | |
tree | f8e0d485aafe4f49c71f757617d05de892fa612c /source/blender/editors/space_buttons/buttons_context.c | |
parent | 9407456e3f6991f5d703bd6b4e25b18b048d95a9 (diff) |
Cleanup: style, unused variable
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_context.c')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 35a07e41844..66bbc24eca4 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -653,7 +653,7 @@ void buttons_context_compute(const bContext *C, SpaceButs *sbuts) ptr = &path->ptr[path->len - 1]; if (ptr->type) { - if(RNA_struct_is_a(ptr->type, &RNA_Light)) + if (RNA_struct_is_a(ptr->type, &RNA_Light)) sbuts->dataicon = ICON_OUTLINER_DATA_LIGHT; else sbuts->dataicon = RNA_struct_ui_icon(ptr->type); |