Extracting negative scale values

Hi,
I'm having some issues with extracting the scale of a matrix when the object is set with some negative scale values.
In fact, for example, GMathMatrix4x4d.extract_scaling() returns (-1, -1, -1) instead of (-1, 1, 1) if the object scale values are set like: x=-1, y=1, z=1.
This applies when either of the three axes is set with a negative value and I'm getting the same wrong result with GMathMatrix4x4d.decompose().
Any idea why I'm not getting the proper scale values? From my findings, dealing with negative scale values seems to be a common known issue, so not sure if it's a bug, if I'm missing something, or if there is a way to get it properly?
Thanks,
Jeremy
I'm having some issues with extracting the scale of a matrix when the object is set with some negative scale values.
In fact, for example, GMathMatrix4x4d.extract_scaling() returns (-1, -1, -1) instead of (-1, 1, 1) if the object scale values are set like: x=-1, y=1, z=1.
This applies when either of the three axes is set with a negative value and I'm getting the same wrong result with GMathMatrix4x4d.decompose().
Any idea why I'm not getting the proper scale values? From my findings, dealing with negative scale values seems to be a common known issue, so not sure if it's a bug, if I'm missing something, or if there is a way to get it properly?
Thanks,
Jeremy