-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NURBSCurve.toJSON doesn't serialize points data #29478
Comments
Even with a proper |
The next problem is that objects deserialized with |
Thanks for the quick reply, Mugen87. I'm happy to add the functionality for With regard to |
three.js/src/extras/core/CurvePath.js Line 244 in be667f1
|
Quick q @Mugen87, I came across the doc, https://github.com/mrdoob/three.js/wiki/Mr.doob%27s-Code-Style%E2%84%A2, but didn't see any mention of a VS Code formatter extension. Is there one available to auto format code for the preferred code style? |
If you configure VS code with an ESLint extension, it should automatically detect the lint configuration in https://github.com/mrdoob/three.js/blob/dev/.eslintrc.json. |
Description
The JSON object returned from
NURBSCurve.toJSON()
doesn't contain data relating points, knots or control points, but instead contains:Reproduction steps
console.log
nurbsCurveInstance.toJSON()Code
Live example
https://codesandbox.io/p/sandbox/threejs-nurbscurve-tojson-bug-s298gc
Screenshots
No response
Version
168
Device
Desktop, Mobile
Browser
Chrome, Firefox, Safari, Edge
OS
MacOS
The text was updated successfully, but these errors were encountered: