-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for multiple recalculation callbacks
This fixes an issue where callbacks to reconstruct points when `reinit_live == True` would perform multiple updates due to different sliders/buttons/etc. handling `on_change` separately. This fix creates a new attr in `PrimitiveVisualizer`, `reinit_live`, that replaces the previously independently assigned value to several functions and constructors. Now, when the points are reset using the 'Reset' button, this live updating can be manually turned off and then restored to a previous state once the update is complete.
- Loading branch information
Showing
3 changed files
with
32 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters