Skip to content

Commit

Permalink
Update Chem4D.pyp
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuJiuding committed Oct 28, 2022
1 parent 7340172 commit 0e01f07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Chem4D.pyp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ class CHEM4D(c4d.plugins.ObjectData, CHEM4DHelper):
if type==c4d.MSG_DESCRIPTION_COMMAND:
if data['id'][0].id==c4d.ID_UPDATE:
self.update = True
node.SetDirty(c4d.DIRTYFLAGS_DATA)
node.SetDirty(c4d.DIRTYFLAGS_DATA)

return True
return True

Expand Down Expand Up @@ -377,7 +378,7 @@ class CHEM4D(c4d.plugins.ObjectData, CHEM4DHelper):
indnum = indnum +1
self.update = False
self.hasobj = True

op.SetDirty(c4d.DIRTYFLAGS_DESCRIPTION)
if self.hasobj == False:
return None
#read static descriptions
Expand Down

0 comments on commit 0e01f07

Please sign in to comment.