Closed cmbasnett closed 2 years ago
@cmbasnett
The actual document does not show that return type is not mathutils.Vector
.
I think this is a the official document's issue.
What do you think?
Yea, this is a documentation issue it seems. My guess is that they used to return just a list of list of floats, but it was never updated.
Out of curiosity, does the module get generated strictly from the documentation?
@colinbasnettskyboxlabs
does the module get generated strictly from the documentation?
Yes. fake-bpy-module generates from the documentation. But we tweak some documentation on the generation process.
I think this issue is related to #93 #95 #99, and tackle to this issue now.
This issue is now fixed at the same time of #93 .
System Information
Expected behavior
All vector types (e.g.,
bpy.types.Object.location
) should return amathutils.Vector
type, and all matrix types (e.g.,bpy.types.Object.matrix_local
) should return amathutils.Matrix
type.Screenshots/Files [Optional]
![image](https://user-images.githubusercontent.com/5035660/183851088-b15b6798-45aa-4c0d-8bda-93332d448fbb.png)
Additional comments [Optional]