Implement undo for augin, bimtester, clash, cobie, and covetool operators. See #1475.

This commit is contained in:
Dion Moult
2021-07-07 10:40:07 +10:00
parent fb6c670aa6
commit 6706ad9bd5
5 changed files with 24 additions and 0 deletions
@@ -13,6 +13,7 @@ api = Api()
class Login(bpy.types.Operator):
bl_idname = "bim.covetool_login"
bl_label = "Login to cove.tool"
bl_options = {"REGISTER", "UNDO"}
def execute(self, context):
token = api.login(bpy.context.scene.CoveToolProperties.username, bpy.context.scene.CoveToolProperties.password)