-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 3DE vec3d division issues for Copy/Export Tracks tool.
The original traceback reported was: Traceback (most recent call last): File "<string>", line 1071, in <module> File "<string>", line 164, in main File "<string>", line 594, in generate File "<string>", line 1066, in _generate_v4 File "<string>", line 897, in _generate_v2_v3_and_v4 File "<string>", line 398, in _remove_rs_from_2d_point File "<string>", line 290, in _apply_rs_correction TypeError: unsupported operand type(s) for /: 'vec3d' and 'float' When using the "copy_track_mmsolver.py" (v1.9) tool in 3DE R6 on Windows. The fix is two fold; 1) do not perform maths on integer numbers when floats are expected. 2) Fall back to float-float division per-component in a vec3d to avoid the use of 3DE's vec3d operator overloading - in case this happens again the future.
- Loading branch information
1 parent
5002f65
commit 3b4844e
Showing
5 changed files
with
25 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters