You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
I'm trying to use inspector with aframe-watcher to update my local files with changes I make with AFrame inspector. However, I noticed that some types of changes don't get written:
Component is added or removed
Entity is added or removed
Potential cause:
From my best understanding, the way it works is when a change in inspector happens, it fires an "entityupdate" event. This is listened to in the history.js file and recorded. When the save button is pressed, it makes a request to aframe-watcher with the contents of what has been recorded in AFRAME.INSPECTOR.history.updates.
It seems like the "entityupdate" event is not fired when these additions / removals are done in inspector.
The text was updated successfully, but these errors were encountered:
The scope of aframe-watcher is to update only existing entities because it's based on the entity id. https://github.com/supermedium/aframe-watcher#scope
I'm not sure if adding or removing components on an existing entity is in the scope of the supported features.
aframe-watcher didn't get updates for years. I didn't even know it was still working.
I usually do my own build of aframe-inspector to remove the save button.
Problem:
I'm trying to use inspector with aframe-watcher to update my local files with changes I make with AFrame inspector. However, I noticed that some types of changes don't get written:
Potential cause:
From my best understanding, the way it works is when a change in inspector happens, it fires an "entityupdate" event. This is listened to in the history.js file and recorded. When the save button is pressed, it makes a request to aframe-watcher with the contents of what has been recorded in AFRAME.INSPECTOR.history.updates.
It seems like the "entityupdate" event is not fired when these additions / removals are done in inspector.
The text was updated successfully, but these errors were encountered: