Hydra: Forward camera custom properties of type double to render delegate
Pull Request: https://projects.blender.org/blender/blender/pulls/142857
This commit is contained in:
committed by
Brecht Van Lommel
parent
902f1ebf89
commit
e50ced2e80
@@ -21,6 +21,8 @@ static pxr::VtValue vt_value(const IDProperty *prop)
|
||||
return pxr::VtValue{IDP_Int(prop)};
|
||||
case IDP_FLOAT:
|
||||
return pxr::VtValue{IDP_Float(prop)};
|
||||
case IDP_DOUBLE:
|
||||
return pxr::VtValue{IDP_Double(prop)};
|
||||
case IDP_BOOLEAN:
|
||||
return pxr::VtValue{bool(IDP_Bool(prop))};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user