Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sprite function adds spurious NSRange parameters with imported photo

in Bugs Posts: 716

The following is generated when selecting a photo to import via assets. Anyone else seeing this?

    sprite("Project:logs",NSRange: {24, 7},NSRange: {32, 8},NSRange: {41, 3},NSRange: {45, 3})
    sprite("Documents:logpile",NSRange: {15, 16},NSRange: {32, 16},NSRange: {49, 16},NSRange: {66, 16})

Steps to recreate:
1.New Project
2. Type Sprite() in draw() function
3. Tap and select Project Assets then +Photos
4. Select Photo and Use

Comments

  • dave1707dave1707 Mod
    Posts: 7,468

    @West That was posted as a problem before. Not sure when.

  • pacpac
    Posts: 175

    I have had that happen before to but I just deleted it and moved on.

  • Posts: 716

    @dave1707 -ok just had a search on NSRange - comes up with a thread from Aug 18. @Simeon recreated it, but no info on what caused it or whether it was resolved. Can delete the spurious text and use normally, it’s just a bit annoying

Sign In or Register to comment.