Recreate PreviewEngine when render_delegate_name is changed #36

Merged
Bogdan Nagirniak merged 6 commits from BLEN-404 into hydra-render 2023-05-05 14:49:30 +02:00
Showing only changes of commit 4da45f9f53 - Show all commits

View File

@ -187,6 +187,11 @@ void BlenderSceneDelegate::clear()
objects_.clear();
instancers_.clear();
materials_.clear();
depsgraph = nullptr;
context = nullptr;
scene = nullptr;
view3d = nullptr;
}
pxr::SdfPath BlenderSceneDelegate::prim_id(ID *id, const char *prefix) const