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;
switch (dirty_bits) {
case DirtyBits::DirtyTransform:
case DirtyBits::DIRTY_TRANSFORM:
bits = pxr::HdLight::DirtyTransform;
break;
case DirtyBits::DirtyVisibility:
case DirtyBits::DIRTY_VISIBILITY:
bits = pxr::HdLight::DirtyParams;
break;
case DirtyBits::AllDirty:
case DirtyBits::ALL_DIRTY:
bits = pxr::HdLight::AllDirty;
break;
default:

View File

@ -9,7 +9,7 @@
#include "DNA_camera_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 "BLI_math_matrix.h"
#include "DEG_depsgraph_query.h"