Commit d996137
authored
SG-40514: Add env var to bypass Clear All confirmation dialog (#1017)
### SG-40514: Add env var to bypass Clear All confirmation dialog
### Linked issues
Fixes NA
### Describe the reason for the change.
The reason for this change is that we are adding Annotation automation
tests and in order to test the "Clear Annotations on All The Frames"
functionality, we needed a way to bypass the confirmation dialog.
### Summarize your change.
This commit adds a new env var which when defined, will skip the
confirmation dialog when executing the function : "Clear Annotations on
All The Frames".
`export RV_SKIP_CONFIRMATIONS=1 `
Note that for efficiency, it is evaluated in the annotate_mode
constructor.
### Describe what you have tested and on which operating system.
Successfully tested on macOS.
### Add a list of changes, and note any that might need special
attention during the review.
### If possible, provide screenshots.
Signed-off-by: Bernard Laberge <bernard.laberge@autodesk.com>1 parent 5693d82 commit d996137
1 file changed
+19
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
1651 | 1652 | | |
1652 | 1653 | | |
1653 | 1654 | | |
1654 | | - | |
1655 | | - | |
1656 | | - | |
| 1655 | + | |
1657 | 1656 | | |
1658 | | - | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
1659 | 1663 | | |
1660 | | - | |
| 1664 | + | |
| 1665 | + | |
1661 | 1666 | | |
1662 | | - | |
| 1667 | + | |
| 1668 | + | |
1663 | 1669 | | |
1664 | | - | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
1668 | | - | |
1669 | | - | |
| 1670 | + | |
| 1671 | + | |
1670 | 1672 | | |
1671 | | - | |
1672 | | - | |
1673 | | - | |
1674 | 1673 | | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
1675 | 1677 | | |
1676 | 1678 | | |
1677 | 1679 | | |
| |||
2078 | 2080 | | |
2079 | 2081 | | |
2080 | 2082 | | |
| 2083 | + | |
2081 | 2084 | | |
2082 | 2085 | | |
2083 | 2086 | | |
| |||
0 commit comments