View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002458 | FSSCP | scripting | public | 2011-06-22 09:06 | 2012-02-14 00:45 |
Reporter | m_m | Assigned To | Valathil | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.6.13 | ||||
Summary | 0002458: Scripting function gr.getVectorFromCoords returnes incorrect results when a ship is targeted | ||||
Description | When calling gr.getVectorFromCoords inside a lua script and a ship is targeted then this function returns an incorrect vector that is dependent on this ship as when the cursor is centered on the screen the vector will also point to the center of the object. This may be a general problem with g3_point_to_vec as the same problem also happens when calling this function directly. | ||||
Additional Information | I attached a test script that should reproduce the described problem. | ||||
Tags | No tags attached. | ||||
fs2open: trunk r8406 2012-01-30 04:29 Ported: N/A Details Diff |
Fix for Mantis 2458: Initialize stuff before calling the point_to_vec function so it has the right matrices for calculation, also fixed scripted sphere drawing |
Affected Issues 0002458 |
|
mod - /trunk/fs2_open/code/parse/lua.cpp | Diff File | ||
fs2open: fs2_open_3_6_14 r8481 2012-02-13 19:46 Ported: N/A Details Diff |
Backport: Trunk r8406; Fix for Mantis 2458: Initialize stuff before calling the point_to_vec function so it has the right matrices for calculation, also fixed scripted sphere drawing |
Affected Issues 0002458 |
|
mod - /branches/fs2_open_3_6_14/code/parse/lua.cpp | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-06-22 09:06 | m_m | New Issue | |
2011-06-22 09:06 | m_m | File Added: screenVectorTest-sct.tbm | |
2012-01-30 09:17 | Valathil | File Added: lua.cpp.patch | |
2012-01-30 09:26 | Valathil | File Deleted: lua.cpp.patch | |
2012-01-30 09:28 | Valathil | Assigned To | => Valathil |
2012-01-30 09:28 | Valathil | Status | new => assigned |
2012-01-30 09:29 | Valathil | Changeset attached | => fs2open trunk r8406 |
2012-01-30 09:29 | Valathil | Note Added: 0013194 | |
2012-01-30 09:29 | Valathil | Status | assigned => resolved |
2012-01-30 09:29 | Valathil | Resolution | open => fixed |
2012-02-14 00:45 | Zacam | Changeset attached | => fs2open fs2_open_3_6_14 r8481 |
2012-02-14 00:45 | Zacam | Note Added: 0013307 |