Backport fixes from aframe-inspector (batch 5)#1540
Conversation
Backport from aframevr/aframe-inspector#822 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move helper functions (getFilename, isValidId, getValidId, getUrlFromId, getIdFromUrl) to assetsUtils.js. Detect already-loaded textures and show error messages for duplicate/invalid asset names. Backport from aframevr/aframe-inspector#824 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The pseudo-element selectors were missing :: prefix, making the rules ineffective. Backport from aframevr/aframe-inspector#826 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
THREE.ImageUtils was removed in newer Three.js versions, causing a runtime warning. Backport from aframevr/aframe-inspector#832 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…d to widgets Replace componentname/entity propTypes with id prop on all widgets. PropertyRow now generates and passes the id. Fix boolean label click by using the id prop directly instead of constructing it in BooleanWidget. Simplify PropertyRow type/value override logic. Backport from aframevr/aframe-inspector#819 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Backport from aframevr/aframe-inspector#825 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Preserve world scale when reparenting by computing local scale relative to the new parent. Remove rotation/scale attributes when they equal default values (0 0 0 / 1 1 1) instead of always setting them. Backport from c-frame/aframe-editor#62 and aframevr/aframe-inspector#63 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The animatetop keyframes were never defined, making the animation rules ineffective. Backport from aframevr/aframe-inspector#837 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
be98b44 to
3d2909b
Compare
Code Review — Backport fixes from aframe-inspector (batch 5)Great batch of upstream fixes. The changes are well-scoped, clearly motivated, and generally clean. Here's a detailed look: OverviewThis PR backports 9 upstream fixes from What's Well Done
Issues1. Floating-point equality after trig operations —
|
kfarr
left a comment
There was a problem hiding this comment.
thanks @vincentfretin looks good. was able to test a few fixes but not everything since we don't support reparenting yet
|
summary point 3 addressed in #1558 |
Backport fixes from aframe-inspector (batch 5)
Previous sync: #1180
Changes
bind__troika-text— aframevr/aframe-inspector#822::prefix) — aframevr/aframe-inspector#826THREE.ImageUtils.crossOriginline — aframevr/aframe-inspector#832