Added comment about the correctness of cloning a clone - lest I not attempt to /fix/ it again

This commit is contained in:
Markus Lampert
2018-10-04 23:23:15 -07:00
committed by wmayer
parent 4e62302aa3
commit e98a7d47e7

View File

@@ -172,6 +172,9 @@ class JobCreate:
for i in range(self.itemsJob.childCount()):
if self.itemsJob.child(i).checkState(0) == QtCore.Qt.CheckState.Checked:
# Note that we do want to use the models (resource clones) of the
# source job as base objects for the new job in order to get the
# identical placement, and anything else that's been customized.
models.extend(self.itemsJob.child(i).data(0, self.DataObject).Model.Group)
return models