Commit 5d9b311
committed
Correctly save a
Before, if the `tThWidth` was set to `None`, which is a valid setting,
saving the material and reloading it would reset it to the default value,
rather than restoring the value of `None`.
This PR fixes the bug so that `None` is properly saved and restored,
as it should be.
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>tThWidth of None
1 parent 177e3be commit 5d9b311
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
964 | | - | |
| 964 | + | |
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
| |||
991 | 991 | | |
992 | 992 | | |
993 | 993 | | |
994 | | - | |
995 | | - | |
996 | | - | |
| 994 | + | |
997 | 995 | | |
998 | 996 | | |
999 | 997 | | |
| |||
0 commit comments