Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Line Append Bug : 2017-3162
Started by greg brady Mar 12 2018 10:50 AM

4 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

greg brady

[GLOBAL: userInfoPane.html]
greg brady
  • Contributor

  • 283 posts
  • Corona SDK

Line Append is not working properly.   It only happens when appending horizontal line segments.  All other non horizontal line segments add fine

 

Attached File  lineappendbug.jpg   53.93KB   0 downloads

 

It only happens on the segments where the y value doesn't change....

 

x                 y

452.8145 333.3708

455.7781 333.3708

459.6307 333.3708

463.9278 333.3708

468.4472 333.3708

473.0778 333.3708

477.7639 333.3708

482.4777 332.7781

487.2055 332.4818

491.9402 332.3336

496.6784 332.2595

501.4184 332.2225

506.1592 332.2039

510.9004 332.1947

515.6418 332.1901

520.3833 332.1854

 

 

The code is simple, draw the first line segment and then append the points after to it....



[TOPIC: post.html]
#2

greg brady

[GLOBAL: userInfoPane.html]
greg brady
  • Contributor

  • 283 posts
  • Corona SDK

this bug goes back to 2011... must be a real pain!



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,263 posts
  • Enterprise

Is there a bug report filed on it?

 

Rob



[TOPIC: post.html]
#4

greg brady

[GLOBAL: userInfoPane.html]
greg brady
  • Contributor

  • 283 posts
  • Corona SDK

I was hoping for a confirmation before filing a bug report.

 

Greg



[TOPIC: post.html]
#5

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,490 posts
  • Corona SDK

I saw something like this just recently too and bypassed it (instead of investigating it).

 

I made single line segments (versus multi vertex line) to bypass the problem.

 

@greg,

 

Can you make a demo and file it?  I simply don't have the time right now.




[topic_controls]
[/topic_controls]