Fix pset template UI bug where changing to another prop didn't cancel editing older props. Also add support for blank or falsey enums (e.g. a real of 0.0).

This commit is contained in:
Dion Moult
2022-09-01 18:06:22 +10:00
parent f2bd362f57
commit a800d1af7e
3 changed files with 42 additions and 6 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ from mathutils import Vector
scenarios("feature")
variables = {"cwd": os.getcwd(), "ifc": "IfcStore.get_file()"}
variables = {"cwd": os.getcwd(), "ifc": "IfcStore.get_file()", "pset_ifc": "IfcStore.pset_template_file"}
# Monkey-patch webbrowser opening since we want to test headlessly
webbrowser.open = lambda x: True