fix(autogen): Position and Rotation being marked as CFrame instead of Vector3

This commit is contained in:
maelstrom 2025-04-27 22:56:03 +02:00
parent bbe862b309
commit f6f7a5f151

View file

@ -172,7 +172,7 @@ void processField(CXCursor cur, ClassAnalysis* state) {
auto cframePosition = parseAnnotationString(cframePositionDef.value());
PropertyAnalysis cframeProp;
cframeProp.backingFieldType = anly.backingFieldType;
cframeProp.backingFieldType = "Vector3";
cframeProp.fieldName = anly.fieldName;
cframeProp.name = cframePosition["name"];
cframeProp.category = anly.category;
@ -188,7 +188,7 @@ void processField(CXCursor cur, ClassAnalysis* state) {
auto cframeRotation = parseAnnotationString(cframeRotationDef.value());
PropertyAnalysis cframeProp;
cframeProp.backingFieldType = anly.backingFieldType;
cframeProp.backingFieldType = "Vector3";
cframeProp.fieldName = anly.fieldName;
cframeProp.name = cframeRotation["name"];
cframeProp.category = anly.category;