-
Notifications
You must be signed in to change notification settings - Fork 204
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
Copy component values to clipboard wrong #672
Comments
aframe-inspector/src/lib/entity.js Lines 478 to 509 in fb68ae9
needs to be rewritten to use the same code than here aframe-inspector/src/lib/entity.js Lines 191 to 199 in fb68ae9
Also it should be getDOMAttribute here to avoid exporting properties that were changed inside the component by setting this.data directly (I have this use case for my material-values component akbartus/A-Frame-Component-GLTF-Manipulator#2 so that it shows the correct values in the inspector but I don't want to export those)
|
Oh I understand why copy an entity to clipboard and copy component to clipboard are using a different implementation here. |
Copy component values (values that are different from defaults) to clipboard is not working correctly for
geometry
andgltf-model
, I get justgeometry=""
,gltf-model=""
. Formaterial
component, I get all props with[object Object]
.I didn't see an issue with my custom components.
The copy entity to clipboard implementation is correct for all three components.
I won't investigate this right away.
The text was updated successfully, but these errors were encountered: