Object moved after clear parent with keep transform
Closed, InvalidPublic

Description

System Information
OS: Windows 10
Graphic card: NVIDIA GeForce GTX 760

Blender Version
Blender 2.79 5bd8ac9

Short description of error
In the attached scene, when clearing the parent of an object with "keep transform" option, the object doesn't remain in the same situation (the rotation is changed). The same issue occurs through python scripting.

Exact steps for others to reproduce the error
Scenario A through UI:
1- Open the file attached
2- Select one of the fan blade (group_27 for example)
3- Call the "Clear and Keep Transformation" operator with Alt+P
4- The object will be cleared of its parent but is slightly moved off its previous position (we can see that the Rotation values have changed)

Scenario B through python:
1- Open the file attached
2- Select one of the fan blade (group_27 for example)
3- Click "Run Script" in the text editor
4- The object will be moved and the world matrices printed won't match

Further details:
The scene comes from an fbx exported from 3ds max

File :

Details

Type
Bug