forked from blender/blender
Support more AOVs #78
@ -118,7 +118,7 @@ void Engine::set_sync_setting(const std::string &key, const pxr::VtValue &val)
|
|||||||
|
|
||||||
void Engine::set_render_setting(const std::string &key, const pxr::VtValue &val)
|
void Engine::set_render_setting(const std::string &key, const pxr::VtValue &val)
|
||||||
{
|
{
|
||||||
if (key._Starts_with("aov:")) {
|
if (STRPREFIX(key.c_str(), "aovToken:")) {
|
||||||
render_delegate_settings_.aovs.add_new(key.substr(key.find(":") + 1), pxr::TfToken(val.UncheckedGet<std::string>()));
|
render_delegate_settings_.aovs.add_new(key.substr(key.find(":") + 1), pxr::TfToken(val.UncheckedGet<std::string>()));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user