tres icon indicating copy to clipboard operation
tres copied to clipboard

Line2,Modify props.points, but it does not take effect

Open devick opened this issue 1 year ago • 6 comments

Describe the bug

I used Line2 to add a point to the props.points, but it doesn't seem to render. Specifically, points larger than the original array were not rendered, but points smaller than the original array were re rendered

Reproduction

https://stackblitz.com/edit/tresjs-basic-kftrax?file=src%2Fcomponents%2FTheExperience.vue

Steps to reproduce

No response

System Info

No response

Used Package Manager

npm

Code of Conduct

devick avatar Sep 13 '24 10:09 devick

My friend help me here please @andretchen0

JaimeTorrealba avatar Oct 02 '24 20:10 JaimeTorrealba

There was a brief discussion about this on Discord the last time it was brought up.

THREE doesn't allow resizing buffers after they're created. It was decided that Cientos shouldn't paper over that.

Is that something we want to rethink, work around, or possibly warn about?

@JaimeTorrealba @alvarosabu

andretchen0 avatar Oct 02 '24 20:10 andretchen0

Maybe we have to put this in the docs explicitly. Can you address that? @andretchen0

JaimeTorrealba avatar Oct 03 '24 10:10 JaimeTorrealba

I have a proposal, but maybe it's easier to discuss on Discord. I'll post there.

andretchen0 avatar Oct 03 '24 12:10 andretchen0

@devick Thanks for filing the issue!

andretchen0 avatar Oct 03 '24 12:10 andretchen0

Hey @andretchen0 thanks for taking this one, can you please add the prioritization labels to this one (p1..p5)? Thanks

alvarosabu avatar Oct 17 '24 07:10 alvarosabu