forked from blender/blender
Need to do the same light power as Cycles in Watts for Hydra RPR #34
@ -121,6 +121,10 @@ void LightData::update()
|
||||
write_transform();
|
||||
bits = pxr::HdLight::DirtyTransform;
|
||||
}
|
||||
else if (id->recalc & ID_RECALC_COPY_ON_WRITE) {
|
||||
init();
|
||||
bits = pxr::HdLight::AllDirty;
|
||||
}
|
||||
scene_delegate_->GetRenderIndex().GetChangeTracker().MarkSprimDirty(prim_id, bits);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user