Skip to content

Commit

Permalink
assembly: prevent deleting constraint group
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder committed Jun 4, 2018
1 parent 857bbd6 commit 042c43d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 042c43d

Please sign in to comment.