diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-15 19:19:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-15 19:19:26 +0300 |
commit | 8610b57271eb792b7fbdf31596ab432794ba7a88 (patch) | |
tree | 054a1e1207d93eb52568604a16609474f96596fb /intern/cycles/blender/blender_shader.cpp | |
parent | c617fcad10e48e557769a101d2ec382e63840cd0 (diff) |
Cycles: Cleanup, code style
Diffstat (limited to 'intern/cycles/blender/blender_shader.cpp')
-rw-r--r-- | intern/cycles/blender/blender_shader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_shader.cpp b/intern/cycles/blender/blender_shader.cpp index b89e3004403..604c134a2f7 100644 --- a/intern/cycles/blender/blender_shader.cpp +++ b/intern/cycles/blender/blender_shader.cpp @@ -1236,7 +1236,7 @@ void BlenderSync::sync_materials(BL::Depsgraph& b_depsgraph, bool update_all) BL::Depsgraph::ids_iterator b_id; for(b_depsgraph.ids.begin(b_id); b_id != b_depsgraph.ids.end(); ++b_id) { - if (!b_id->is_a(&RNA_Material)) { + if(!b_id->is_a(&RNA_Material)) { continue; } @@ -1409,7 +1409,7 @@ void BlenderSync::sync_lights(BL::Depsgraph& b_depsgraph, bool update_all) BL::Depsgraph::ids_iterator b_id; for(b_depsgraph.ids.begin(b_id); b_id != b_depsgraph.ids.end(); ++b_id) { - if (!b_id->is_a(&RNA_Light)) { + if(!b_id->is_a(&RNA_Light)) { continue; } |