Closed ameennihad closed 7 years ago
That's the equivalent of clicking the eye button in the 3D viewer toolbar. It could make sense to not have the Refresh or Gcode button trigger those and let the user manually do that.
On Mon, Feb 13, 2017 at 1:04 PM, ameennihad notifications@github.com wrote:
I'm trying to avoid changing the view angle when Refresh or Gcode buttons are pressed, I realized that view angle is set to default when one of the following lines is called:
chilipeppr.publish('/com-chilipeppr-widget-3dviewer/viewextents' ); chilipeppr.publish('/com-chilipeppr-widget-3dviewer/drawextents' );
What the effect of calling those functions from the 3D viewer?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/widget-eagle/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbcu73dWVBW8A_4poiHSa5X_5DuuQks5rcMV7gaJpZM4L_uHF .
I disable "viewextents" call on Refresh, but it's not possible to disable when sending the Gcode, it has to be done from 3D viewer widget.
I'm trying to avoid changing the view angle when Refresh or Gcode buttons are pressed, I realized that view angle is set to default when one of the following lines is called:
chilipeppr.publish('/com-chilipeppr-widget-3dviewer/viewextents' );
chilipeppr.publish('/com-chilipeppr-widget-3dviewer/drawextents' );
What the effect of calling those functions from the 3D viewer?