question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

active set to false doesn't remove the environment

See original GitHub issue

<a-entity active="false" environment="preset: forest"></a-entity>

and

<a-entity active="true" environment="preset: forest"></a-entity> give the same visual result.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jedpimentelcommented, Sep 24, 2019

try <a-entity environment="preset: forest; active:false"></a-entity>

The active attribute needs to be placed inside the environment component. Doing so programmatically would be entity.setAttribute('environment', 'active', 'false');, I’m getting an issue with it removing stuff that isn’t part of the environment entit on active:false, which is super wierd. (most but not all geometries turned black)

0reactions
dmarcoscommented, Oct 8, 2021

As @levexis commented. This seems to be working. Make sure you’re using the latest version 1.3.0 and A-Frame 1.2.0 or newer. Closing for now and reopening if necessary

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I prevent Conda from activating the base environment ...
To disable auto activation of conda base environment in terminal: conda config --set auto_activate_base false. To activate conda base ...
Read more >
Can't manage or remove objects that were synchronized ...
Resolves an issue that you can't manage or remove objects created through directory synchronization from Azure AD.
Read more >
Enable/Disable Next Experience UI on user level (San Diego)
Just browsing through a San Diego instance with Next Experience active, there doesn't seem to be an option to enable/disable Next Experience ...
Read more >
7 Environments | Advanced R - Hadley Wickham
What is the only environment that doesn't have a parent? ... Unlike lists, setting an element to NULL does not remove it, because...
Read more >
Environments - Advanced R. - Hadley Wickham
What is the only environment that doesn't have a parent? ... With a list you can remove an entry by setting it to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found