View Issue Details

IDProjectCategoryView StatusLast Update
0029755RunnerFunctionsPublic2019-01-04 16:22
ReporterStewart BishopAssigned ToRussell Kay 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version2.1.4 
Target Version2.2.1Fixed in Version2.2.1 
Summary0029755: Functions: sprite_get_uvs() doesn't work properly for sprites created using sprite_create_from_surface()
DescriptionThe function sprite_get_uvs() returns wrong values when it is used on a sprite created using sprite_create_from_surface().

If the entire texture page is created from a surface (using the sprite_create_from_surface function), the UV's values should be between 0 and 1. But, for some reason, the values are different, and don't correspond to the correct range.

There's also a post on the Forum about the bug, that can be checked here:
Ide version:
Steps To Reproduce1) Run the sample
2) Scroll the mouse wheel
3) See the differences
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.1.5.237
2.x Runtime Verified In2.2.1.268


Stewart Bishop

2018-07-04 16:34


BugReportProject.yyz (25,328 bytes)

Russell Kay

2018-07-18 09:31

Manager   ~0060886

Fixed in gitlab

Stewart Bishop

2018-10-29 11:07

Developer   ~0061877

Reopening as sample still shows the same issue

Russell Kay

2018-10-29 11:47

Manager   ~0061878

His test is rubbish that is all and it is not proportional to the size of the graphic so it will always be incorrect... the values passed in now are right but his test is just wrong.

Russell Kay

2018-10-29 11:47

Manager   ~0061879

See comment above... fix is correct... the test is rubbish