Cleanup: unused vars, clang-format
This commit is contained in:
parent
ed4bf2dc61
commit
c81549af28
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue