View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003045 | FSSCP | scripting | public | 2014-05-18 17:41 | 2014-05-25 07:20 |
Reporter | Axem | Assigned To | m_m | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0003045: gr.drawImage()'s UV arguments aren't working properly | ||||
Description | Tweaking the UV arguments in drawImage should let you horizontally or vertically flip the image, but something's broken somewhere. Copy paste the script below to see the problem. 0,0,1,1 is the default way and it works (top image) 1,1,0,0 or 0,0,-1,-1 result in odd colors (probably the image stretching) | ||||
Steps To Reproduce | #Conditional Hooks $Application: FS2_Open $State: GS_STATE_MAIN_MENU $On Frame: [ gr.drawImage("Ter0001", 100, 100, 100+gr.getImageWidth("Ter0001"), 100+gr.getImageHeight("Ter0001"), 0, 0, 1, 1) gr.drawImage("Ter0001", 100, 220, 100+gr.getImageWidth("Ter0001"), 220+gr.getImageHeight("Ter0001"), 1, 1, 0, 0) ] #End | ||||
Tags | No tags attached. | ||||
|
Pull request for a fix is located here: https://github.com/scp-fs2open/fs2open.github.com/pull/29 |
|
Fix committed to trunk@10721. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-05-18 17:41 | Axem | New Issue | |
2014-05-24 19:21 | m_m | Note Added: 0015761 | |
2014-05-24 19:21 | m_m | Assigned To | => m_m |
2014-05-24 19:21 | m_m | Status | new => code review |
2014-05-25 07:20 | m_m | Changeset attached | => fs2open trunk r10721 |
2014-05-25 07:20 | m_m | Note Added: 0015762 | |
2014-05-25 07:20 | m_m | Status | code review => resolved |
2014-05-25 07:20 | m_m | Resolution | open => fixed |