Open RyuMaster opened 3 years ago
Through several hacks I managed to make my splines appear, but maybe I am going totally wrong direction. First issue is, all curves are never translated into splines, as all marked as editable for some reason. So I had to do this:
FORCEINLINE
const bool IsEditableNode()
{
if (Type == EHoudiniOutputType::Curve)
{
return false;
}
return bIsEditableNode;
};
Also, in this function, I had to change PRIMITIVE to HAPI_ATTROWNER_POINT
if (FHoudiniEngineUtils::HapiGetAttributeDataAsInteger( CurHGPO.GeoId, CurHGPO.PartId, HAPI_UNREAL_ATTRIB_OUTPUT_UNREAL_CURVE_CLOSED, ClosedAttriInfo, IntData, 1, HAPI_ATTROWNER_POINT)) { if (IntData.Num() > 0) bIsClosed = IntData[0] == 1; }
In documentation it says "ANY", so this is kinda suspicious too.
I am having the same issue and i don't know how to fix it.
Can anyone confirm, the curves from Houdini to Unreal still works? I can't get it working no matter what, unreal_output_curve has no effects, and even simply having a curve hardcoded object will not appear as Spline Component.
I am using Unreal 4.26.2, latest plugin and Houdini versions