forked from blender/blender
BLEN-367: Fix code style #14
@ -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:
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user