diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-01-21 12:57:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-01-21 12:57:15 +0300 |
commit | c81549af28d1fb50b1f44f71cd2e2218746ec262 (patch) | |
tree | 597093ab6123cd8e42af1e828d78352f9af0323f | |
parent | ed4bf2dc61ac1f1da71815b542749243101069db (diff) |
Cleanup: unused vars, clang-format
-rw-r--r-- | intern/cycles/render/shader.cpp | 3 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/intern/cycles/render/shader.cpp b/intern/cycles/render/shader.cpp index da04ef63295..661208c6463 100644 --- a/intern/cycles/render/shader.cpp +++ b/intern/cycles/render/shader.cpp @@ -317,7 +317,8 @@ void Shader::tag_update(Scene *scene) * has use_mis set to false. We are quite close to release now, so * better to be safe. */ - if (this == scene->background->get_shader(scene) && scene->light_manager->has_background_light(scene)) { + if (this == scene->background->get_shader(scene) && + scene->light_manager->has_background_light(scene)) { scene->light_manager->need_update = true; } diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index 3bea3346f88..0a3663372be 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -156,7 +156,7 @@ static void graph_panel_properties(const bContext *C, Panel *pa) FCurve *fcu; PointerRNA fcu_ptr; uiLayout *layout = pa->layout; - uiLayout *col, *row, *sub; + uiLayout *col; char name[256]; int icon = 0; |