Blender Git Loki
Git Commits -> Revision 0950cfd
Revision 0950cfd by Campbell Barton (master) September 3, 2021, 11:21 (GMT) |
PyAPI: add read-only 'is_valid' attribute to mathutils types There was no convenient way to check if the owner of a mathutils type was valid. Added to support issue reported in T91111. |
Commit Details:
Full Hash: 0950cfd9d53ef666cf820765e83586f72b04e9b6
Parent Commit: f530b43
Lines Changed: +46, -0
7 Modified Paths:
/source/blender/python/mathutils/mathutils.c (+16, -0) (Diff)
/source/blender/python/mathutils/mathutils.h (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Color.c (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Euler.c (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Matrix.c (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Quaternion.c (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils.h (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Color.c (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Euler.c (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Matrix.c (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Quaternion.c (+5, -0) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+5, -0) (Diff)