Skip to content

Conversation

andretchen0
Copy link
Contributor

@andretchen0 andretchen0 commented Dec 2, 2024

Problem

After initial creation, additional points could not be added to Cientos' Line2 component. The on-screen component would not display the additional points.

Solution

Recreate the Line2 geometry to accommodate the additional points.

Problem

The defineExposed instance is undefined because here ...

<template>
  <primitive
    :ref="lineRef"
    :object="line"
  />
</template>

... :ref should be ref.

Solution

Remove the colon from :ref.

Meta

Closes #493

Copy link

netlify bot commented Dec 2, 2024

Deploy Preview for cientos-tresjs failed. Why did it fail? →

Name Link
🔨 Latest commit a1ffbd4
🔍 Latest deploy log https://app.netlify.com/sites/cientos-tresjs/deploys/674e0a71c183450008896e23

@andretchen0 andretchen0 added the feature New feature or request label Dec 2, 2024
@andretchen0 andretchen0 marked this pull request as ready for review December 2, 2024 19:41
alvarosabu and others added 3 commits December 13, 2024 10:34
* feat(Helper): add component, demo, docs

* refactor(useHelper): use destructuring

* refactor(useHelper): remove

---------

Co-authored-by: Alvaro Saburido <[email protected]>
@andretchen0 andretchen0 changed the base branch from main to next December 14, 2024 09:26
Copy link

pkg-pr-new bot commented Dec 14, 2024

Open in Stackblitz

npm i https://pkg.pr.new/@tresjs/cientos@551

commit: 0323e67

Base automatically changed from next to main September 20, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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