From 042c43ddd2eb70d3c8ca0e3f9ab1e0ec7792b19b Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Mon, 4 Jun 2018 12:03:41 +0800 Subject: [PATCH] assembly: prevent deleting constraint group --- assembly.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assembly.py b/assembly.py index 587d13d..e5e3b3b 100644 --- a/assembly.py +++ b/assembly.py @@ -1247,6 +1247,9 @@ class ViewProviderAsmConstraintGroup(ViewProviderAsmGroup): def canDropObjects(self): return False + def onDelete(self,_obj,_subs): + return False + class AsmElementGroup(AsmGroup): def __init__(self,parent):