Cleanup: unused vars, clang-format

This commit is contained in:
Campbell Barton 2020-01-21 20:57:15 +11:00
parent ed4bf2dc61
commit c81549af28
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;