BLEN-367: Fix code style #14

Merged
Bogdan Nagirniak merged 11 commits from BLEN-367 into hydra-render 2023-03-15 09:42:17 +01:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 70b66f4bd9 - Show all commits

View File

@ -157,13 +157,13 @@ void LightData::mark_prim_dirty(DirtyBits dirty_bits)
pxr::HdDirtyBits bits = pxr::HdLight::Clean; pxr::HdDirtyBits bits = pxr::HdLight::Clean;
switch (dirty_bits) { switch (dirty_bits) {
case DirtyBits::DirtyTransform: case DirtyBits::DIRTY_TRANSFORM:
bits = pxr::HdLight::DirtyTransform; bits = pxr::HdLight::DirtyTransform;
break; break;
case DirtyBits::DirtyVisibility: case DirtyBits::DIRTY_VISIBILITY:
bits = pxr::HdLight::DirtyParams; bits = pxr::HdLight::DirtyParams;
break; break;
case DirtyBits::AllDirty: case DirtyBits::ALL_DIRTY:
bits = pxr::HdLight::AllDirty; bits = pxr::HdLight::AllDirty;
break; break;
default: default:

View File

@ -9,7 +9,7 @@
#include "DNA_camera_types.h" #include "DNA_camera_types.h"
#include "DNA_screen_types.h" #include "DNA_screen_types.h"
#include "DNA_vec_types.h" /* this include should be before BKE_camera.h due to "rctf" type */ #include "DNA_vec_types.h" /* this include must be before BKE_camera.h due to "rctf" type */
#include "BKE_camera.h" #include "BKE_camera.h"
#include "BLI_math_matrix.h" #include "BLI_math_matrix.h"
#include "DEG_depsgraph_query.h" #include "DEG_depsgraph_query.h"