Giter Site home page Giter Site logo

Comments (4)

vincentfretin avatar vincentfretin commented on May 25, 2024

I don't reproduce the issue.
Do you reproduce it on the example in this repo?
acceleration prop is from wasd-controls component apparently.
There is a check props.isSingle, it should do the in operator only if isSingle is false.

I added
console.log(props.isSingle,props.name,props.entity.getDOMAttribute(props.componentname))
before

const className = classNames({

If I add wasd-controls on a camera I get:
false 'acceleration' {}

if I edit the accelereration I get:
false 'acceleration' {acceleration: 70}

Why do have true instead of an object? Are you using wasd-controls instead of wasd-controls="" in a react context by any chance? That's probably the only explanation here, wasd-controls is equivalent to wasd-controls={true}

from aframe-inspector.

dmarcos avatar dmarcos commented on May 25, 2024

I think this is no longer an issue. Closing but can reopen if necessary. Thanks

from aframe-inspector.

uurcank avatar uurcank commented on May 25, 2024

this is still an issue for me @dmarcos

try <a-box fog="true"></a-box> and this error happens

from aframe-inspector.

vincentfretin avatar vincentfretin commented on May 25, 2024

@uurcank Thank you for the reproducible case! There is indeed an issue here, I created #694
As a workaround for now you can use material="fog:true" that doesn't produce the error.

from aframe-inspector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.