def load_AppendObject(self, object): Compound.load_AppendObject(self, object) length = len(self.objects) if length > 2 and length & 1: # last object was a control object if len(self.objects[-2].objects) == 0: self.objects[-2].Recompute(self.objects[-3], self.objects[-1])
def load_AppendObject(self, object): Compound.load_AppendObject(self, object) if len(self.objects) == 2: self.text, self.path = self.objects