Skip to content
Discussion options

You must be logged in to vote

Huh, oddly enough, o3-mini helped me fix it. This is weird because I certainly wasn't having this issue before.

This is basically what it said:

You're calling an instance method as if it were static. Instead of:

translation = mi.ScalarTransform4d.translate(point)

do:

translation = mi.ScalarTransform4d().translate(point)

This ensures that the method’s first argument (self) is a valid transform.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@njroussel
Comment options

Answer selected by AnsonSavage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants