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
Describe the bug
I am specifying a <site> position in the XML file to zero in all x y z and when I try to change the site position programmatically the value doesn't change and is not reflected in the viewer. However, having a non-zero value for a position in XML allows changing it programmatically and is reflected in the viewer.
Describe the bug
I am specifying a
<site>
position in the XML file to zero in all x y z and when I try to change the site position programmatically the value doesn't change and is not reflected in the viewer. However, having a non-zero value for a position in XML allows changing it programmatically and is reflected in the viewer.To Reproduce
site
Expected behavior
The result expected here is
[0.5 0.5 0.]
. However, the result comes to be[0. 0. 0.]
.Workaround
The current solution is to have a non-zero position in the XML. So,
Change
<site name='my_site' size='0.05' pos='0 0 0' rgba='0.0 0.5 0.5 1.0'/>
to
<site name='my_site' size='0.05' pos='0.1 0 0' rgba='0.0 0.5 0.5 1.0'/>
Desktop
The text was updated successfully, but these errors were encountered: