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:
Dawid Kurek
2025-07-22 16:28:19 +02:00
committed by Brecht Van Lommel
parent 902f1ebf89
commit e50ced2e80

View File

@@ -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))};
}