diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-05-27 12:16:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-05-27 12:36:30 +0300 |
commit | 616b071c4fa42f4b412ac12aa41120f41b79ec51 (patch) | |
tree | 63839dc06e483ac86d2c3b8f61adf34e3ccf3981 /intern/cycles/blender/blender_sync.cpp | |
parent | 15df83e9c910f620e4d1ab24f7175c7a2eae57b3 (diff) |
Refactor: Naming in Cycles viewport methods
Makes it more explicit they operate on shading/light.
Gives room to move more viewport related settings into this class and
cover with specific or generic modification checks.
Diffstat (limited to 'intern/cycles/blender/blender_sync.cpp')
-rw-r--r-- | intern/cycles/blender/blender_sync.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp index e6e0fb54457..0d2b2641312 100644 --- a/intern/cycles/blender/blender_sync.cpp +++ b/intern/cycles/blender/blender_sync.cpp @@ -225,7 +225,7 @@ void BlenderSync::sync_recalc(BL::Depsgraph &b_depsgraph, BL::SpaceView3D &b_v3d if (b_v3d) { BlenderViewportParameters new_viewport_parameters(b_v3d); - if (viewport_parameters.modified(new_viewport_parameters)) { + if (viewport_parameters.shader_modified(new_viewport_parameters)) { world_recalc = true; has_updates_ = true; } |