Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed regression in toggling subpatch gop redrect
* It is supposed to toggle on and off depending on whether the subpatch has scalars only in it. It does this by also intelligently accounting for temporary text objects that are created and need to be filled by the scalar name before they are converted into a scalar class. * There is one condition the original implementation failed to account for: creating a new text_object in an empty canvas which erroneously still resulted in the assumption that the subpatch consisted of only scalars. * This patch fixes this special case. * To test: create an empty subpatch and enable GOP, inside the subpatch create an empty object which will erase GOP until you make that object something concrete (e.g. print). With the patch, the GOP redrect will never dissappear (and it shouldn't).
- Loading branch information