forked from blender/blender
Recreate PreviewEngine when render_delegate_name is changed #36
@ -187,6 +187,11 @@ void BlenderSceneDelegate::clear()
|
|||||||
objects_.clear();
|
objects_.clear();
|
||||||
instancers_.clear();
|
instancers_.clear();
|
||||||
materials_.clear();
|
materials_.clear();
|
||||||
|
|
||||||
|
depsgraph = nullptr;
|
||||||
|
context = nullptr;
|
||||||
|
scene = nullptr;
|
||||||
|
view3d = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
pxr::SdfPath BlenderSceneDelegate::prim_id(ID *id, const char *prefix) const
|
pxr::SdfPath BlenderSceneDelegate::prim_id(ID *id, const char *prefix) const
|
||||||
|
Loading…
Reference in New Issue
Block a user